Skip to content

Commit 053c88e

Browse files
20230221 image location
1 parent 149e1e6 commit 053c88e

File tree

4 files changed

+36
-32
lines changed

4 files changed

+36
-32
lines changed
Loading

articles/synapse-analytics/sql-data-warehouse/quickstart-scale-compute-powershell.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
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"
33
description: You can scale compute for dedicated SQL pools (formerly SQL DW) using Azure PowerShell.
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
66
ms.reviewer: kedodd
77
ms.date: 02/21/2023
8-
ms.topic: quickstart
98
ms.service: synapse-analytics
109
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
1214
---
1315

1416
# 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
5456
Follow these steps to find location information for your data warehouse.
5557

5658
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-
![Server name and resource group](./media/quickstart-scale-compute-powershell/locate-data-warehouse-information.png)
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.":::
6062

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.
6365

6466
For example, to retrieve the properties and status of a dedicated SQL pool (formerly SQL DW):
6567

@@ -101,30 +103,30 @@ CreationDate : 1/20/2023 9:18:12 PM
101103
CurrentServiceObjectiveId : 284f1aff-xxxx-xxxx-xxxx-xxxxxxxxxxxx
102104
CurrentServiceObjectiveName : DW300c
103105
RequestedServiceObjectiveName : DW300c
104-
RequestedServiceObjectiveId :
106+
RequestedServiceObjectiveId :
105107
ElasticPoolName :
106108
EarliestRestoreDate :
107109
Tags :
108110
ResourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/
109111
resourceGroups/resourcegroupname/providers/Microsoft.Sql/servers/sqlpoolservername/databases/mySampleDataWarehouse
110112
CreateMode :
111113
ReadScale : Disabled
112-
ZoneRedundant :
114+
ZoneRedundant :
113115
Capacity : 2700
114-
Family :
116+
Family :
115117
SkuName : DataWarehouse
116-
LicenseType :
117-
AutoPauseDelayInMinutes :
118-
MinimumCapacity :
119-
ReadReplicaCount :
120-
HighAvailabilityReplicaCount :
118+
LicenseType :
119+
AutoPauseDelayInMinutes :
120+
MinimumCapacity :
121+
ReadReplicaCount :
122+
HighAvailabilityReplicaCount :
121123
CurrentBackupStorageRedundancy : Geo
122124
RequestedBackupStorageRedundancy : Geo
123-
SecondaryType :
125+
SecondaryType :
124126
MaintenanceConfigurationId : /subscriptions/d8392f63-xxxx-xxxx-xxxx-xxxxxxxxxxxx/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/SQL_Default
125127
EnableLedger : False
126-
PreferredEnclaveType :
127-
PausedDate :
128+
PreferredEnclaveType :
129+
PausedDate :
128130
ResumedDate :
129131
```
130132

@@ -134,7 +136,7 @@ To see the current state of the data warehouse, use the [Get-AzSqlDatabase](/pow
134136

135137
```powershell
136138
$database = Get-AzSqlDatabase -ResourceGroupName "resourcegroupname" -ServerName "sqlpoolservername" -DatabaseName "mySampleDataWarehouse"
137-
$database
139+
$database
138140
```
139141

140142
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`.

articles/synapse-analytics/sql-data-warehouse/quickstart-scale-compute-workspace-powershell.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
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."
33
description: You can scale compute for dedicated SQL pools in Azure Synapse workspaces using Azure PowerShell.
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
66
ms.reviewer: kedodd
77
ms.date: 02/21/2023
8-
ms.topic: quickstart
98
ms.service: synapse-analytics
109
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
1214
---
1315

1416
# 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.
6163
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`.
6264
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`.
6365

64-
![Server name and resource group](./media/quickstart-scale-compute-powershell/locate-synapse-workspace-name.png)
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.":::
6567

6668
For example, to retrieve the properties and status of a dedicated SQL pool created in a Synapse workspace:
6769

@@ -72,13 +74,13 @@ Get-AzSynapseSqlPool -ResourceGroupName "contoso" -Workspacename "contoso-synaps
7274
To retrieve all the data warehouses in a given server, and their status:
7375

7476
```powershell
75-
$pools = Get-AzSynapseSqlPool -ResourceGroupName "resourcegroupname" -Workspacename "synapse-workspace-name"
77+
$pools = Get-AzSynapseSqlPool -ResourceGroupName "resourcegroupname" -Workspacename "synapse-workspace-name"
7678
$pools | Select-Object DatabaseName,Status,Tags
7779
```
7880

7981
## Scale compute
8082

81-
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.
8284

8385
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**.
8486

@@ -95,17 +97,17 @@ SqlPoolName : contoso_dedicated_sql_pool
9597
Sku : DW300c
9698
MaxSizeBytes : 263882790666240
9799
Collation : SQL_Latin1_General_CP1_CI_AS
98-
SourceDatabaseId :
99-
RecoverableDatabaseId :
100+
SourceDatabaseId :
101+
RecoverableDatabaseId :
100102
ProvisioningState : Succeeded
101103
Status : Scaling
102-
RestorePointInTime :
103-
CreateMode :
104+
RestorePointInTime :
105+
CreateMode :
104106
CreationDate : 2/21/2023 11:33:45 PM
105107
StorageAccountType : GRS
106108
Tags : {[createdby, chrisqpublic]}
107-
TagsTable :
108-
Name Value
109+
TagsTable :
110+
Name Value
109111
========= =======
110112
createdby chrisqpublic
111113

0 commit comments

Comments
 (0)