Skip to content

Commit a09ad32

Browse files
Merge pull request #222110 from filippopovic/patch-11
manual stats creation default sampling percent fix
2 parents bce4822 + 16dc830 commit a09ad32

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/synapse-analytics/sql/develop-tables-statistics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ Specifies a Transact-SQL statement that will return column values to be used for
645645

646646
To create statistics on a column, provide a query that returns the column for which you need statistics.
647647

648-
By default, if you don't specify otherwise, serverless SQL pool uses 100% of the data provided in the dataset when it creates statistics.
648+
By default, if you don't specify otherwise when manually creating statistics, serverless SQL pool uses 100% of the data provided in the dataset when it creates statistics.
649649

650650
For example, to create statistics with default options (FULLSCAN) for a population column of the dataset based on the us_population.csv file:
651651

@@ -780,7 +780,7 @@ CREATE STATISTICS sState
780780
#### Create single-column statistics by specifying the sample size
781781

782782
```sql
783-
-- following sample creates statistics with sampling 20%
783+
-- following sample creates statistics with sampling 5%
784784
CREATE STATISTICS sState
785785
on census_external_table (STATENAME)
786786
WITH SAMPLE 5 percent, NORECOMPUTE

0 commit comments

Comments
 (0)