Skip to content

Commit 509cf8a

Browse files
authored
Merge pull request #96935 from ronortloff/WLMUpdates
Update what-is-a-data-warehouse-unit-dwu-cdwu.md
2 parents 83ce391 + f5aa1ea commit 509cf8a

File tree

1 file changed

+20
-41
lines changed

1 file changed

+20
-41
lines changed

articles/sql-data-warehouse/what-is-a-data-warehouse-unit-dwu-cdwu.md

Lines changed: 20 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
---
2-
title: Data Warehouse Units (DWUs, cDWUs) in Azure Synapse Analytics (formerly SQL DW)
3-
description: Recommendations on choosing the ideal number of data warehouse units (DWUs, cDWUs) to optimize price and performance, and how to change the number of units.
2+
title: Data Warehouse Units (DWUs) in Azure Synapse Analytics (formerly SQL DW)
3+
description: Recommendations on choosing the ideal number of data warehouse units (DWUs) to optimize price and performance, and how to change the number of units.
44
services: sql-data-warehouse
55
author: mlee3gsd
66
manager: craigg
77
ms.service: sql-data-warehouse
88
ms.topic: conceptual
99
ms.subservice: design
10-
ms.date: 11/04/2019
10+
ms.date: 11/22/2019
1111
ms.author: martinle
1212
ms.reviewer: igorstan
1313
ms.custom: seo-lt-2019
1414
---
1515

16-
# Data Warehouse Units (DWUs) and compute Data Warehouse Units (cDWUs)
16+
# Data Warehouse Units (DWUs)
1717

18-
Recommendations on choosing the ideal number of data warehouse units (DWUs, cDWUs) to optimize price and performance, and how to change the number of units.
18+
Recommendations on choosing the ideal number of data warehouse units (DWUs) to optimize price and performance, and how to change the number of units.
1919

2020
## What are Data Warehouse Units
2121

22-
SQL pool represents a collection of analytic resources that are being provisioned when using [SQL Analytics](sql-data-warehouse-overview-what-is.md#sql-analytics-and-sql-pool-in-azure-synapse). Analytic resources are defined as a combination of CPU, memory and IO. These three resources are bundled into units of compute scale called Data Warehouse Units (DWUs). A DWU represents an abstract, normalized measure of compute resources and performance. A change to your service level alters the number of DWUs that are available to the system, which in turn adjusts the performance, and the cost, of your system.
22+
A [SQL pool](sql-data-warehouse-overview-what-is.md#sql-analytics-and-sql-pool-in-azure-synapse) represents a collection of analytic resources that are being provisioned when using [SQL Analytics](sql-data-warehouse-overview-what-is.md#sql-analytics-and-sql-pool-in-azure-synapse). Analytic resources are defined as a combination of CPU, memory and IO. These three resources are bundled into units of compute scale called Data Warehouse Units (DWUs). A DWU represents an abstract, normalized measure of compute resources and performance. A change to your service level alters the number of DWUs that are available to the system, which in turn adjusts the performance, and the cost, of your system.
2323

2424
For higher performance, you can increase the number of data warehouse units. For less performance, reduce data warehouse units. Storage and compute costs are billed separately, so changing data warehouse units does not affect storage costs.
2525

@@ -37,40 +37,19 @@ Increasing DWUs:
3737

3838
## Service Level Objective
3939

40-
The Service Level Objective (SLO) is the scalability setting that determines the cost and performance level of your data warehouse. The service levels for Gen2 SQL pool are measured in compute data warehouse units (cDWU), for example DW2000c. Gen1 SQL pool service levels are measured in DWUs, for example DW2000.
41-
> [!NOTE]
42-
> Gen 2 SQL pool recently added additional scale capabilities to support compute tiers as low as 100 cDWU. Existing SQL pools currently on Gen1 that require the lower compute tiers can now upgrade to Gen2 in the regions that are currently available for no additional cost. If your region is not yet supported, you can still upgrade to a supported region. For more information, see [Upgrade to Gen2](upgrade-to-latest-generation.md).
40+
The Service Level Objective (SLO) is the scalability setting that determines the cost and performance level of your data warehouse. The service levels for Gen2 SQL pool are measured in data warehouse units (DWU), for example DW2000c.
4341

44-
In T-SQL, the SERVICE_OBJECTIVE setting determines the service level and the performance tier for your SQL pool.
42+
In T-SQL, the SERVICE_OBJECTIVE setting determines the service level for your SQL pool.
4543

4644
```sql
47-
--Gen1
48-
CREATE DATABASE myElasticSQLDW
49-
WITH
50-
( SERVICE_OBJECTIVE = 'DW1000'
51-
)
52-
;
53-
54-
--Gen2
55-
CREATE DATABASE myComputeSQLDW
56-
(Edition = 'Datawarehouse'
45+
CREATE DATABASE mySQLDW
46+
( EDITION = 'Datawarehouse'
5747
,SERVICE_OBJECTIVE = 'DW1000c'
5848
)
5949
;
6050
```
6151

62-
## Performance Tiers and Data Warehouse Units
63-
64-
Each performance tier uses a slightly different unit of measure for their data warehouse units. This difference is reflected on the invoice as the unit of scale directly translates to billing.
65-
66-
- Gen1 SQL pools are measured in Data Warehouse Units (DWUs).
67-
- Gen2 SQL pools are measured in compute Data Warehouse Units (cDWUs).
68-
69-
Both DWUs and cDWUs support scaling compute up or down, and pausing compute when you don't need to use the SQL pool. These operations are all on-demand. Gen2 uses a local disk-based cache on the compute nodes to improve performance. When you scale or pause the system, the cache is invalidated and so a period of cache warming is required before optimal performance is achieved.
70-
71-
As you increase data warehouse units, you are linearly increasing computing resources. Gen2 provides the best query performance and highest scale. Gen2 systems also make the most use of the cache.
72-
73-
### Capacity limits
52+
## Capacity limits
7453

7554
Each SQL server (for example, myserver.database.windows.net) has a [Database Transaction Unit (DTU)](../sql-database/sql-database-what-is-a-dtu.md) quota that allows a specific number of data warehouse units. For more information, see the [workload management capacity limits](sql-data-warehouse-service-capacity-limits.md#workload-management).
7655

@@ -117,7 +96,7 @@ JOIN sys.databases AS db ON ds.database_id = db.database_
11796

11897
### Azure portal
11998

120-
To change DWUs or cDWUs:
99+
To change DWUs:
121100

122101
1. Open the [Azure portal](https://portal.azure.com), open your database, and click **Scale**.
123102

@@ -129,40 +108,40 @@ To change DWUs or cDWUs:
129108

130109
[!INCLUDE [updated-for-az](../../includes/updated-for-az.md)]
131110

132-
To change the DWUs or cDWUs, use the [Set-AzSqlDatabase](/powershell/module/az.sql/set-azsqldatabase) PowerShell cmdlet. The following example sets the service level objective to DW1000 for the database MySQLDW that is hosted on server MyServer.
111+
To change the DWUs, use the [Set-AzSqlDatabase](/powershell/module/az.sql/set-azsqldatabase) PowerShell cmdlet. The following example sets the service level objective to DW1000c for the database MySQLDW that is hosted on server MyServer.
133112

134113
```Powershell
135-
Set-AzSqlDatabase -DatabaseName "MySQLDW" -ServerName "MyServer" -RequestedServiceObjectiveName "DW1000"
114+
Set-AzSqlDatabase -DatabaseName "MySQLDW" -ServerName "MyServer" -RequestedServiceObjectiveName "DW1000c"
136115
```
137116

138117
For more information, see [PowerShell cmdlets for SQL Data Warehouse](sql-data-warehouse-reference-powershell-cmdlets.md)
139118

140119
### T-SQL
141120

142-
With T-SQL you can view the current DWU or cDWU settings, change the settings, and check the progress.
121+
With T-SQL you can view the current DWU settings, change the settings, and check the progress.
143122

144-
To change the DWUs or cDWUs:
123+
To change the DWUs:
145124

146125
1. Connect to the master database associated with your logical SQL Database server.
147-
2. Use the [ALTER DATABASE](/sql/t-sql/statements/alter-database-transact-sql) TSQL statement. The following example sets the service level objective to DW1000 for the database MySQLDW.
126+
2. Use the [ALTER DATABASE](/sql/t-sql/statements/alter-database-transact-sql) TSQL statement. The following example sets the service level objective to DW1000c for the database MySQLDW.
148127

149128
```Sql
150129
ALTER DATABASE MySQLDW
151-
MODIFY (SERVICE_OBJECTIVE = 'DW1000')
130+
MODIFY (SERVICE_OBJECTIVE = 'DW1000c')
152131
;
153132
```
154133

155134
### REST APIs
156135

157-
To change the DWUs, use the [Create or Update Database](/rest/api/sql/databases/createorupdate) REST API. The following example sets the service level objective to DW1000 for the database MySQLDW, which is hosted on server MyServer. The server is in an Azure resource group named ResourceGroup1.
136+
To change the DWUs, use the [Create or Update Database](/rest/api/sql/databases/createorupdate) REST API. The following example sets the service level objective to DW1000c for the database MySQLDW, which is hosted on server MyServer. The server is in an Azure resource group named ResourceGroup1.
158137

159138
```
160139
PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.Sql/servers/{server-name}/databases/{database-name}?api-version=2014-04-01-preview HTTP/1.1
161140
Content-Type: application/json; charset=UTF-8
162141
163142
{
164143
"properties": {
165-
"requestedServiceObjectiveName": DW1000
144+
"requestedServiceObjectiveName": DW1000c
166145
}
167146
}
168147
```

0 commit comments

Comments
 (0)