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/quickstart-scale-compute-powershell.md
+22-20Lines changed: 22 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,16 @@
1
1
---
2
-
title: 'Quickstart: Scale compute for dedicated SQL pools (formerly SQL DW) using Azure PowerShell'
2
+
title: "Quickstart: Scale compute for dedicated SQL pools (formerly SQL DW) using Azure PowerShell"
3
3
description: You can scale compute for dedicated SQL pools (formerly SQL DW) using Azure PowerShell.
4
4
author: WilliamDAssafMSFT
5
5
ms.author: wiassaf
6
6
ms.reviewer: kedodd
7
7
ms.date: 02/21/2023
8
-
ms.topic: quickstart
9
8
ms.service: synapse-analytics
10
9
ms.subservice: sql-dw
11
-
ms.custom: devx-track-azurepowershell, mode-api
10
+
ms.topic: quickstart
11
+
ms.custom:
12
+
- devx-track-azurepowershell
13
+
- mode-api
12
14
---
13
15
14
16
# Quickstart: Scale compute for dedicated SQL pool (formerly SQL DW) with Azure PowerShell
@@ -54,12 +56,12 @@ Locate the database name, server name, and resource group for the data warehouse
54
56
Follow these steps to find location information for your data warehouse.
55
57
56
58
1. Sign in to the [Azure portal](https://portal.azure.com/).
57
-
2. Select **Azure Synapse Analytics (formerly SQL DW)** in the main search bar of the Azure portal.
58
-
3. Select `mySampleDataWarehouse` from the **Azure Synapse Analytics (formerly SQL DW)** page to open the data warehouse.
59
-

59
+
1. Select **Azure Synapse Analytics (formerly SQL DW)** in the main search bar of the Azure portal.
60
+
1. Select `mySampleDataWarehouse` from the **Azure Synapse Analytics (formerly SQL DW)** page to open the data warehouse.
61
+
:::image type="content" source="media/quickstart-scale-compute-powershell/locate-data-warehouse-information.png" alt-text="A screenshot of the Azure portal with the server name and resource group highlighted.":::
60
62
61
-
4. The data warehouse name will be used as the database name. Remember, a data warehouse is one type of database. Also remember down the server name, and the resource group. You will use the server name and the resource group name in the pause and resume commands.
62
-
5. Use only the first part of the server name in the PowerShell cmdlets. In the preceding image, the full server name is `sqlpoolservername.database.windows.net`. We use `sqlpoolservername` as the server name in the PowerShell cmdlet.
63
+
1. The data warehouse name will be used as the database name. Remember, a data warehouse is one type of database. Also remember down the server name, and the resource group. You will use the server name and the resource group name in the pause and resume commands.
64
+
1. Use only the first part of the server name in the PowerShell cmdlets. In the preceding image, the full server name is `sqlpoolservername.database.windows.net`. We use `sqlpoolservername` as the server name in the PowerShell cmdlet.
63
65
64
66
For example, to retrieve the properties and status of a dedicated SQL pool (formerly SQL DW):
You can see the `Status` of the database in the output. In this case, you can see that this database is `Online`. When you run this command, you should receive a `Status` value of `Online`, `Pausing`, `Resuming`, `Scaling`, or `Paused`.
Copy file name to clipboardExpand all lines: articles/synapse-analytics/sql-data-warehouse/quickstart-scale-compute-workspace-powershell.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,16 @@
1
1
---
2
-
title: 'Quickstart: Scale compute for dedicated SQL pools in Azure Synapse workspaces.'
2
+
title: "Quickstart: Scale compute for dedicated SQL pools in Azure Synapse workspaces."
3
3
description: You can scale compute for dedicated SQL pools in Azure Synapse workspaces using Azure PowerShell.
4
4
author: WilliamDAssafMSFT
5
5
ms.author: wiassaf
6
6
ms.reviewer: kedodd
7
7
ms.date: 02/21/2023
8
-
ms.topic: quickstart
9
8
ms.service: synapse-analytics
10
9
ms.subservice: sql-dw
11
-
ms.custom: devx-track-azurepowershell, mode-api
10
+
ms.topic: quickstart
11
+
ms.custom:
12
+
- devx-track-azurepowershell
13
+
- mode-api
12
14
---
13
15
14
16
# Quickstart: Scale compute for dedicated SQL pools in Azure Synapse Workspaces with Azure PowerShell
@@ -61,7 +63,7 @@ Follow these steps to find location information for your data warehouse.
61
63
1. Select the name of your dedicated SQL pool from the **Synapse workspace | SQL pools** page. In the following samples, we use `contoso_dedicated_sql_pool`.
62
64
1. As in the following image, we use `contoso-synapse-workspace` as the Azure Synapse workspace name in the following PowerShell samples, in the resource group `contoso`.
63
65
64
-

66
+
:::image type="content" source="./media/quickstart-scale-compute-workspace-powershell/locate-synapse-workspace-name.png" alt-text="A screenshot of the Azure portal with the server name and workspace highlighted.":::
65
67
66
68
For example, to retrieve the properties and status of a dedicated SQL pool created in a Synapse workspace:
You can increase or decrease compute resources by adjusting the dedicated SQL pool's data warehouse units. The **Workload management** menu of the Azure portal provides scaling, but this can also be accomplished with PowerShell.
83
+
You can increase or decrease compute resources by adjusting the dedicated SQL pool's data warehouse units. The **Workload management** menu of the Azure portal provides scaling, but this can also be accomplished with PowerShell.
82
84
83
85
To change data warehouse units, use the [Update-AzSynapseSqlPool](/powershell/module/az.synapse/update-azsynapsesqlpool) PowerShell cmdlet. The following example sets the data warehouse units to DW300c for the database `contoso_dedicated_sql_pool`, which is hosted in the resource group `contoso` in the Synapse workspace **contoso-synapse-workspace**.
0 commit comments