Skip to content

Commit 8ec0c3c

Browse files
authored
Auto-create statistics after load
1 parent 4bb3d91 commit 8ec0c3c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/sql-data-warehouse/guidance-for-loading-data.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: craigg
77
ms.service: sql-data-warehouse
88
ms.topic: conceptual
99
ms.subservice: load data
10-
ms.date: 04/17/2018
10+
ms.date: 05/31/2019
1111
ms.author: kevin
1212
ms.reviewer: igorstan
1313
ms.custom: seoapril2019
@@ -97,7 +97,9 @@ If you have thousands or more single inserts throughout the day, batch the inser
9797

9898
## Creating statistics after the load
9999

100-
To improve query performance, it's important to create statistics on all columns of all tables after the first load, or substantial changes occur in the data. For a detailed explanation of statistics, see [Statistics](sql-data-warehouse-tables-statistics.md). The following example creates statistics on five columns of the Customer_Speed table.
100+
To improve query performance, it's important to create statistics on all columns of all tables after the first load, or substantial changes occur in the data. This can be done manually or you can enable [auto-create statustics](https://docs.microsoft.com/azure/sql-data-warehouse/sql-data-warehouse-tables-statistics#automatic-creation-of-statistic).
101+
102+
For a detailed explanation of statistics, see [Statistics](sql-data-warehouse-tables-statistics.md). The following example shows how to manually create statistics on five columns of the Customer_Speed table.
101103

102104
```sql
103105
create statistics [SensorKey] on [Customer_Speed] ([SensorKey]);

0 commit comments

Comments
 (0)