Skip to content

Commit 12a67e1

Browse files
committed
pause resume portal and powershell
1 parent 3f1aa9f commit 12a67e1

File tree

2 files changed

+33
-32
lines changed

2 files changed

+33
-32
lines changed

articles/sql-data-warehouse/pause-and-resume-compute-portal.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'Quickstart: Pause & resume compute - Azure portal '
2+
title: Pause and resume compute in Synapse SQL pool via the Azure portal
33
description: Use the Azure portal to pause compute for SQL pool to save costs. Resume compute when you are ready to use the data warehouse.
44
services: sql-data-warehouse
55
author: kevinvngo
@@ -12,10 +12,9 @@ ms.author: kevin
1212
ms.reviewer: igorstan
1313
ms.custom: seo-lt-2019, azure-synapse
1414
---
15-
# Quickstart: Pause and resume compute in Azure Synapse Analytics SQL pool in the Azure portal
16-
17-
Use the Azure portal to pause compute for SQL pool to save costs. [Resume compute](sql-data-warehouse-manage-compute-overview.md) when you are ready to use the data warehouse.
15+
# Quickstart: Pause and resume compute in Synapse SQL pool via the Azure portal
1816

17+
You can use the Azure portal to pause and resume the Synapse SQL pool (data warehouse) compute resources.
1918
If you don't have an Azure subscription, create a [free](https://azure.microsoft.com/free/) account before you begin.
2019

2120
## Sign in to the Azure portal
@@ -28,9 +27,11 @@ Use [Create and Connect - portal](create-data-warehouse-portal.md) to create a S
2827

2928
## Pause compute
3029

31-
To save costs, you can pause and resume compute resources on-demand. For example, if you won't be using the database during the night and on weekends, you can pause it during those times, and resume it during the day. You won't be charged for compute resources while the database is paused. However, you will continue to be charged for storage.
30+
To reduce costs, you can pause and resume compute resources on-demand. For example, if you won't be using the database during the night and on weekends, you can pause it during those times, and resume it during the day.
31+
>[!NOTE]
32+
>You won't be charged for compute resources while the database is paused. However, you will continue to be charged for storage.
3233
33-
Follow these steps to pause a SQL pool.
34+
Follow these steps to pause a SQL pool:
3435

3536
1. Sign in to the [Azure portal](https://portal.azure.com/).
3637
2. Click **Azure Synapse Analytics (formerly SQL DW)** in the left navigation page of the Azure portal.
@@ -74,7 +75,7 @@ Follow these steps to resume SQL pool.
7475

7576
## Clean up resources
7677

77-
You are being charged for data warehouse units and the data stored in your data warehouse. These compute and storage resources are billed separately.
78+
You are being charged for data warehouse units and the data stored in your SQL pool. These compute and storage resources are billed separately.
7879

7980
- If you want to keep the data in storage, pause compute.
8081
- If you want to remove future charges, you can delete the SQL pool.
@@ -89,14 +90,15 @@ Follow these steps to clean up resources as you desire.
8990

9091
2. To remove the SQL pool so you are not charged for compute or storage, click **Delete**.
9192

92-
3. To remove the SQL server you created, click **sqlpoolservername.database.windows.net**, and then click **Delete**. Be careful with this deletion, since deleting the server also deletes all databases assigned to the server.
93+
3. To remove the SQL server you created, click **sqlpoolservername.database.windows.net**, and then click **Delete**.
94+
95+
>[!CAUTION]
96+
Be careful with this deletion, since deleting the server also deletes all databases assigned to the server.
9397

94-
4. To remove the resource group, click **myResourceGroup**, and then click **Delete resource group**.
98+
5. To remove the resource group, click **myResourceGroup**, and then click **Delete resource group**.
9599

96100

97101
## Next steps
98102

99-
You have now paused and resumed compute for your SQL pool. For next steps continue to the tutorial for loading data.
103+
You have now paused and resumed compute for your SQL pool. Continue to the next article to learn more about how to [Load data into SQL pool](load-data-from-azure-blob-storage-using-polybase.md). For additional information about managing compute capabilities, see the [Manage compute overview](sql-data-warehouse-manage-compute-overview.md) article.
100104

101-
> [!div class="nextstepaction"]
102-
> [Load data into SQL pool](load-data-from-azure-blob-storage-using-polybase.md)

articles/sql-data-warehouse/pause-and-resume-compute-powershell.md

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: 'Quickstart: Pause & resume compute - PowerShell '
3-
description: Use PowerShell to pause compute in Azure Synapse Analytics SQL pool to save costs. Resume compute when you are ready to use the data warehouse.
2+
title: Pause and resume compute in Synapse SQL pool via the Azure PowerShell
3+
description: You can use Azure PowerShell to pause and resume the Synapse SQL pool (data warehouse). compute resources.
44
services: sql-data-warehouse
55
author: kevinvngo
66
manager: craigg
@@ -12,10 +12,9 @@ ms.author: kevin
1212
ms.reviewer: igorstan
1313
ms.custom: seo-lt-2019, azure-synapse
1414
---
15-
# Quickstart: Pause and resume compute in Azure Synapse Analytics SQL pool with Azure PowerShell
16-
17-
Use Azure PowerShell to pause compute for SQL pool to save costs. [Resume compute](sql-data-warehouse-manage-compute-overview.md) when you are ready to use the data warehouse.
15+
# Quickstart: Pause and resume compute in Synapse SQL pool via the Azure PowerShell
1816

17+
You can use Azure PowerShell to pause and resume the Synapse SQL pool (data warehouse) compute resources.
1918
If you don't have an Azure subscription, create a [free](https://azure.microsoft.com/free/) account before you begin.
2019

2120
## Before you begin
@@ -44,34 +43,37 @@ If you need to use a different subscription than the default, run [Set-AzContext
4443
Set-AzContext -SubscriptionName "MySubscription"
4544
```
4645

47-
## Look up data warehouse information
46+
## Look up SQL pool information
4847

4948
Locate the database name, server name, and resource group for the SQL pool you plan to pause and resume.
5049

51-
Follow these steps to find location information for your SQL pool.
50+
Follow these steps to find location information for your SQL pool:
5251

5352
1. Sign in to the [Azure portal](https://portal.azure.com/).
5453
1. Click **Azure Synapse Analytics (formerly SQL DW)** in the left page of the Azure portal.
55-
1. Select **mySampleDataWarehouse** from the **Azure Synapse Analytics (formerly SQL DW)** page. The data warehouse opens.
54+
1. Select **mySampleDataWarehouse** from the **Azure Synapse Analytics (formerly SQL DW)** page. The SQL pool opens.
5655

5756
![Server name and resource group](media/pause-and-resume-compute-powershell/locate-data-warehouse-information.png)
5857

59-
1. Write down the data warehouse name, which is the database name. Also write down the server name, and the resource group.
58+
1. Write down the SQL pool name, which is the database name. Also write down the server name, and the resource group.
6059
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.
6160

6261
## Pause compute
6362

64-
To save costs, you can pause and resume compute resources on-demand. For example, if you are not using the database during the night and on weekends, you can pause it during those times, and resume it during the day. There is no charge for compute resources while the database is paused. However, you continue to be charged for storage.
63+
To save costs, you can pause and resume compute resources on-demand. For example, if you are not using the database during the night and on weekends, you can pause it during those times, and resume it during the day.
64+
65+
>[!NOTE]
66+
>There is no charge for compute resources while the database is paused. However, you continue to be charged for storage.
6567
66-
To pause a database, use the [Suspend-AzSqlDatabase](/powershell/module/az.sql/suspend-azsqldatabase) cmdlet. The following example pauses a data warehouse named **mySampleDataWarehouse** hosted on a server named **sqlpoolservername**. The server is in an Azure resource group named **myResourceGroup**.
68+
To pause a database, use the [Suspend-AzSqlDatabase](/powershell/module/az.sql/suspend-azsqldatabase) cmdlet. The following example pauses a SQL pool named **mySampleDataWarehouse** hosted on a server named **sqlpoolservername**. The server is in an Azure resource group named **myResourceGroup**.
6769

6870

6971
```Powershell
7072
Suspend-AzSqlDatabase –ResourceGroupName "myResourceGroup" `
7173
–ServerName "nsqlpoolservername" –DatabaseName "mySampleDataWarehouse"
7274
```
7375

74-
A variation, this next example retrieves the database into the $database object. It then pipes the object to [Suspend-AzSqlDatabase](/powershell/module/az.sql/suspend-azsqldatabase). The results are stored in the object resultDatabase. The final command shows the results.
76+
The following example retrieves the database into the $database object. It then pipes the object to [Suspend-AzSqlDatabase](/powershell/module/az.sql/suspend-azsqldatabase). The results are stored in the object resultDatabase. The final command shows the results.
7577

7678
```Powershell
7779
$database = Get-AzSqlDatabase –ResourceGroupName "myResourceGroup" `
@@ -89,7 +91,7 @@ Resume-AzSqlDatabase –ResourceGroupName "myResourceGroup" `
8991
–ServerName "sqlpoolservername" -DatabaseName "mySampleDataWarehouse"
9092
```
9193

92-
A variation, this next example retrieves the database into the $database object. It then pipes the object to [Resume-AzSqlDatabase](/powershell/module/az.sql/resume-azsqldatabase) and stores the results in $resultDatabase. The final command shows the results.
94+
The next example retrieves the database into the $database object. It then pipes the object to [Resume-AzSqlDatabase](/powershell/module/az.sql/resume-azsqldatabase) and stores the results in $resultDatabase. The final command shows the results.
9395

9496
```Powershell
9597
$database = Get-AzSqlDatabase –ResourceGroupName "myResourceGroup" `
@@ -98,17 +100,17 @@ $resultDatabase = $database | Resume-AzSqlDatabase
98100
$resultDatabase
99101
```
100102

101-
## Check status of your data warehouse operation
103+
## Check status of your SQL pool operation
102104

103-
To check the status of your data warehouse, use the [Get-AzSqlDatabaseActivity](https://docs.microsoft.com/powershell/module/az.sql/Get-AzSqlDatabaseActivity#description) cmdlet.
105+
To check the status of your SQL pool, use the [Get-AzSqlDatabaseActivity](https://docs.microsoft.com/powershell/module/az.sql/Get-AzSqlDatabaseActivity#description) cmdlet.
104106

105107
```Powershell
106108
Get-AzSqlDatabaseActivity -ResourceGroupName "myResourceGroup" -ServerName "sqlpoolservername" -DatabaseName "mySampleDataWarehouse"
107109
```
108110

109111
## Clean up resources
110112

111-
You are being charged for data warehouse units and data stored your data warehouse. These compute and storage resources are billed separately.
113+
You are being charged for data warehouse units and data stored your SQL pool. These compute and storage resources are billed separately.
112114

113115
- If you want to keep the data in storage, pause compute.
114116
- If you want to remove future charges, you can delete the SQL pool.
@@ -130,7 +132,4 @@ Follow these steps to clean up resources as you desire.
130132

131133
## Next steps
132134

133-
You have now paused and resumed compute for your SQL pool. To learn more about SQL pool, continue to the tutorial for loading data.
134-
135-
> [!div class="nextstepaction"]
136-
> [Load data into SQL pool](load-data-from-azure-blob-storage-using-polybase.md)
135+
To learn more about SQL pool, continue to the [Load data into SQL pool](load-data-from-azure-blob-storage-using-polybase.md) article. For additional information about managing compute capabilities, see the [Manage compute overview](sql-data-warehouse-manage-compute-overview.md) article.

0 commit comments

Comments
 (0)