You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/synapse-analytics/sql-data-warehouse/cheat-sheet.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Cheat sheet for dedicated SQL pool (formerly SQL DW)
3
3
description: Find links and best practices to quickly build your dedicated SQL pool (formerly SQL DW) in Azure Synapse Analytics.
4
4
author: WilliamDAssafMSFT
5
5
ms.author: wiassaf
6
-
ms.date: 11/04/2019
6
+
ms.date: 02/28/2025
7
7
ms.service: azure-synapse-analytics
8
8
ms.subservice: sql-dw
9
9
ms.topic: overview
@@ -48,7 +48,7 @@ Use the following strategies, depending on the table properties:
48
48
|:--- |:--- |:--- |
49
49
| Replicated | * Small dimension tables in a star schema with less than 2 GB of storage after compression (~5x compression) |* Many write transactions are on table (such as insert, upsert, delete, update)<br></br>* You change Data Warehouse Units (DWU) provisioning frequently<br></br>* You only use 2-3 columns but your table has many columns<br></br>* You index a replicated table |
50
50
| Round Robin (default) | * Temporary/staging table<br></br> * No obvious joining key or good candidate column |* Performance is slow due to data movement |
51
-
| Hash | * Fact tables<br></br>* Large dimension tables |* The distribution key cannot be updated |
51
+
| Hash | * Fact tables<br></br>* Large dimension tables |* The distribution key can't be updated |
52
52
53
53
**Tips:**
54
54
@@ -69,7 +69,7 @@ Indexing is helpful for reading tables quickly. There is a unique set of technol
69
69
|:--- |:--- |:--- |
70
70
| Heap | * Staging/temporary table<br></br>* Small tables with small lookups |* Any lookup scans the full table |
71
71
| Clustered index | * Tables with up to 100 million rows<br></br>* Large tables (more than 100 million rows) with only 1-2 columns heavily used |* Used on a replicated table<br></br>* You have complex queries involving multiple join and Group By operations<br></br>* You make updates on the indexed columns: it takes memory |
72
-
| Clustered columnstore index (CCI) (default) | * Large tables (more than 100 million rows) | * Used on a replicated table<br></br>* You make massive update operations on your table<br></br>* You overpartition your table: row groups do not span across different distribution nodes and partitions |
72
+
| Clustered columnstore index (CCI) (default) | * Large tables (more than 100 million rows) | * Used on a replicated table<br></br>* You make massive update operations on your table<br></br>* You overpartition your table: row groups don't span across different distribution nodes and partitions |
73
73
74
74
**Tips:**
75
75
@@ -93,7 +93,7 @@ Learn more about [partitions](sql-data-warehouse-tables-partition.md).
93
93
94
94
## Incremental load
95
95
96
-
If you're going to incrementally load your data, first make sure that you allocate larger resource classes to loading your data. This is particularly important when loading into tables with clustered columnstore indexes. See [resource classes](resource-classes-for-workload-management.md) for further details.
96
+
If you're going to incrementally load your data, first make sure that you allocate larger resource classes to loading your data. This is particularly important when loading into tables with clustered columnstore indexes. See [resource classes](resource-classes-for-workload-management.md) for further details.
97
97
98
98
We recommend using PolyBase and ADF V2 for automating your ELT pipelines into your data warehouse.
99
99
@@ -111,7 +111,7 @@ Learn more about [statistics](sql-data-warehouse-tables-statistics.md).
111
111
112
112
Resource groups are used as a way to allocate memory to queries. If you need more memory to improve query or loading speed, you should allocate higher resource classes. On the flip side, using larger resource classes impacts concurrency. You want to take that into consideration before moving all of your users to a large resource class.
113
113
114
-
If you notice that queries take too long, check that your users do not run in large resource classes. Large resource classes consume many concurrency slots. They can cause other queries to queue up.
114
+
If you notice that queries take too long, check that your users don't run in large resource classes. Large resource classes consume many concurrency slots. They can cause other queries to queue up.
115
115
116
116
Finally, by using Gen2 of [dedicated SQL pool (formerly SQL DW)](sql-data-warehouse-overview-what-is.md), each resource class gets 2.5 times more memory than Gen1.
117
117
@@ -131,6 +131,6 @@ We recommend considering SQL Database and Azure Analysis Services in a hub-and-s
131
131
132
132
Learn more about [typical architectures that take advantage of dedicated SQL pool (formerly SQL DW) in Azure Synapse Analytics](/archive/blogs/sqlcat/common-isv-application-patterns-using-azure-sql-data-warehouse).
133
133
134
-
Deploy in one click your spokes in SQL databases from dedicated SQL pool (formerly SQL DW):
134
+
Deploy your spokes in SQL databases from dedicated SQL pool (formerly SQL DW):
135
135
136
136
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FMicrosoft%2Fsql-data-warehouse-samples%2Fmaster%2Farm-templates%2FsqlDwSpokeDbTemplate%2Fazuredeploy.json)
0 commit comments