Skip to content

Latest commit

 

History

History
99 lines (63 loc) · 5.91 KB

pause-and-resume-compute-portal.md

File metadata and controls

99 lines (63 loc) · 5.91 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic ms.custom
Quickstart: Pause and resume compute in dedicated SQL pool via the Azure portal
Use the Azure portal to pause compute for dedicated SQL pool to save costs. Resume compute when you're ready to use the data warehouse.
WilliamDAssafMSFT
wiassaf
01/05/2023
synapse-analytics
sql-dw
quickstart
azure-synapse
mode-ui

Quickstart: Pause and resume compute in dedicated SQL pool via the Azure portal

You can use the Azure portal to pause and resume the dedicated SQL pool compute resources.
If you don't have an Azure subscription, create a free Azure account before you begin.

Note

This article applies to dedicated SQL pools created in Azure Synapse Workspaces and not dedicated SQL pools (formerly SQL DW). There are different PowerShell cmdlets to use for each, for example, use Suspend-AzSqlDatabase for a dedicated SQL pool (formerly SQL DW), but Suspend-AzSynapseSqlPool for a dedicated SQL pool in an Azure Synapse Workspace. For more on the differences between dedicated SQL pool (formerly SQL DW) and dedicated SQL pools in Azure Synapse Workspaces, read What's the difference between Azure Synapse (formerly SQL DW) and Azure Synapse Analytics Workspace.

Sign in to the Azure portal

Sign in to the Azure portal.

Before you begin

Use Create and Connect - portal to create a dedicated SQL pool called mySampleDataWarehouse.

Pause compute

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.

Note

You won't be charged for compute resources while the database is paused. However, you will continue to be charged for storage.

Follow these steps to pause a dedicated SQL pool:

  1. Sign in to the Azure portal.

  2. Select Azure Synapse Analytics in the menu of the Azure portal, or search for Azure Synapse Analytics in the search bar.

  3. Navigate to your Dedicated SQL pool page to open the SQL pool.

  4. Notice Status is Online.

    :::image type="content" source="././media/pause-and-resume-compute-portal/compute-online.png" alt-text="Screenshot of the Azure portal indicating that the dedicated SQL pool compute is online.":::

  5. To pause the dedicated SQL pool, select the Pause button.

  6. A confirmation question appears asking if you want to continue. Select Yes.

  7. Wait a few moments, and then notice the Status is Pausing.

    :::image type="content" source="./media/pause-and-resume-compute-portal/pausing.png" alt-text="Screenshot shows the Azure portal for a sample data warehouse with a Status value of Pausing.":::

  8. When the pause operation is complete, the status is Paused and the option button is Resume.

  9. The compute resources for the dedicated SQL pool are now offline. You won't be charged for compute until you resume the service.

    :::image type="content" source="././media/pause-and-resume-compute-portal/compute-offline.png" alt-text="Compute offline.":::

Resume compute

Follow these steps to resume a dedicated SQL pool.

  1. Navigate to your Dedicated SQL pool to open the SQL pool.

  2. On the mySampleDataWarehouse page, notice Status is Paused.

    :::image type="content" source="././media/pause-and-resume-compute-portal/compute-offline.png" alt-text="Compute offline.":::

  3. To resume SQL pool, select Resume.

  4. A confirmation question appears asking if you want to start. Select Yes.

  5. Notice the Status is Resuming.

    :::image type="content" source="./media/pause-and-resume-compute-portal/resuming.png" alt-text="Screenshot shows the Azure portal for a sample data warehouse with the Start button selected and a Status value of Resuming.":::

  6. When the SQL pool is back online, the status is Online, and the option button is Pause.

  7. The compute resources for SQL pool are now online and you can use the service. Charges for compute have resumed.

    :::image type="content" source="././media/pause-and-resume-compute-portal/compute-online.png" alt-text="Compute online.":::

Clean up resources

You are being charged for data warehouse units and the data stored in your dedicated SQL pool. These compute and storage resources are billed separately.

  • If you want to keep the data in storage, pause compute.
  • If you want to remove future charges, you can delete the dedicated SQL pool.

Follow these steps to clean up resources as you desire.

  1. Sign in to the Azure portal, and select your dedicated SQL pool.

    :::image type="content" source="./media/pause-and-resume-compute-portal/clean-up-resources.png" alt-text="Clean up resources.":::

  2. To pause compute, select the Pause button.

  3. To remove the dedicated SQL pool so you are not charged for compute or storage, select Delete.

Next steps