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
title: Pause and resume compute in Synapse SQL pool via the Azure portal
3
3
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.
4
4
services: sql-data-warehouse
5
5
author: kevinvngo
@@ -12,10 +12,9 @@ ms.author: kevin
12
12
ms.reviewer: igorstan
13
13
ms.custom: seo-lt-2019, azure-synapse
14
14
---
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
18
16
17
+
You can use the Azure portal to pause and resume the Synapse SQL pool (data warehouse) compute resources.
19
18
If you don't have an Azure subscription, create a [free](https://azure.microsoft.com/free/) account before you begin.
20
19
21
20
## Sign in to the Azure portal
@@ -28,9 +27,11 @@ Use [Create and Connect - portal](create-data-warehouse-portal.md) to create a S
28
27
29
28
## Pause compute
30
29
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.
32
33
33
-
Follow these steps to pause a SQL pool.
34
+
Follow these steps to pause a SQL pool:
34
35
35
36
1. Sign in to the [Azure portal](https://portal.azure.com/).
36
37
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.
74
75
75
76
## Clean up resources
76
77
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.
78
79
79
80
- If you want to keep the data in storage, pause compute.
80
81
- 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.
89
90
90
91
2. To remove the SQL pool so you are not charged for compute or storage, click **Delete**.
91
92
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.
93
97
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**.
95
99
96
100
97
101
## Next steps
98
102
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.
100
104
101
-
> [!div class="nextstepaction"]
102
-
> [Load data into SQL pool](load-data-from-azure-blob-storage-using-polybase.md)
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.
4
4
services: sql-data-warehouse
5
5
author: kevinvngo
6
6
manager: craigg
@@ -12,10 +12,9 @@ ms.author: kevin
12
12
ms.reviewer: igorstan
13
13
ms.custom: seo-lt-2019, azure-synapse
14
14
---
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
18
16
17
+
You can use Azure PowerShell to pause and resume the Synapse SQL pool (data warehouse) compute resources.
19
18
If you don't have an Azure subscription, create a [free](https://azure.microsoft.com/free/) account before you begin.
20
19
21
20
## Before you begin
@@ -44,34 +43,37 @@ If you need to use a different subscription than the default, run [Set-AzContext
44
43
Set-AzContext -SubscriptionName "MySubscription"
45
44
```
46
45
47
-
## Look up data warehouse information
46
+
## Look up SQL pool information
48
47
49
48
Locate the database name, server name, and resource group for the SQL pool you plan to pause and resume.
50
49
51
-
Follow these steps to find location information for your SQL pool.
50
+
Follow these steps to find location information for your SQL pool:
52
51
53
52
1. Sign in to the [Azure portal](https://portal.azure.com/).
54
53
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.
56
55
57
56

58
57
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.
60
59
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.
61
60
62
61
## Pause compute
63
62
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.
65
67
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**.
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.
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.
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.
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.
112
114
113
115
- If you want to keep the data in storage, pause compute.
114
116
- 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.
130
132
131
133
## Next steps
132
134
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