|
| 1 | +--- |
| 2 | +title: 'Quickstart: Configure workload isolation - Portal' |
| 3 | +description: Use Azure portal to configure workload isolation. |
| 4 | +services: synapse-analytics |
| 5 | +author: ronortloff |
| 6 | +manager: craigg |
| 7 | +ms.service: synapse-analytics |
| 8 | +ms.topic: quickstart |
| 9 | +ms.subservice: |
| 10 | +ms.date: 04/30/2020 |
| 11 | +ms.author: rortloff |
| 12 | +ms.reviewer: jrasnick |
| 13 | +ms.custom: azure-synapse |
| 14 | +--- |
| 15 | + |
| 16 | +# Quickstart: Configure Synapse SQL pool workload isolation using a workload group in the Azure portal |
| 17 | + |
| 18 | +In this quickstart, you will configure [workload isolation](sql-data-warehouse-workload-isolation.md) by creating a workload group for reserving resources. For purposes of this tutorial, we will create the workload group for data loading called `DataLoads`. The workload group will reserve 20% of the system resources. With 20% isolation for data loads, they are guaranteed resources that allow them to hit SLAs. After creating the workload group, [create a workload classifier](quickstart-create-a-workload-classifier-portal.md) to assign queries to this workload group. |
| 19 | + |
| 20 | + |
| 21 | +If you don't have an Azure subscription, create a [free](https://azure.microsoft.com/free/) account before you begin. |
| 22 | + |
| 23 | + |
| 24 | +## Sign in to the Azure portal |
| 25 | + |
| 26 | +Sign in to the [Azure portal](https://portal.azure.com/). |
| 27 | + |
| 28 | +> [!NOTE] |
| 29 | +> Creating a SQL pool instance in Azure Synapse Analytics may result in a new billable service. For more information, see [Azure Synapse Analytics pricing](https://azure.microsoft.com/pricing/details/sql-data-warehouse/). |
| 30 | +
|
| 31 | +## Prerequisites |
| 32 | + |
| 33 | +This quickstart assumes you already have a SQL pool instance in Synapse SQL and that you have CONTROL DATABASE permissions. If you need to create one, use [Create and Connect - portal](create-data-warehouse-portal.md) to create a data warehouse called **mySampleDataWarehouse**. |
| 34 | + |
| 35 | +>[!IMPORTANT] |
| 36 | +>Your SQL pool must be online to configure workload management. |
| 37 | +
|
| 38 | +## Configure workload isolation |
| 39 | +SQL pool resources can be isolated and reserved for specific workloads by creating workload groups. See the [Workload Isolation](sql-data-warehouse-workload-isolation.md) concept documentation for more details on how workload groups help you achieve managing your workload. The [Create and Connect - portal](create-data-warehouse-portal.md) quickstart created **mySampleDataWarehouse** and initialized it with 400 DWUs. The following steps create a workload group in **mySampleDataWarehouse**. |
| 40 | + |
| 41 | +To create a workload group with 20% isolation: |
| 42 | +1. Click **Azure Synapse Analytics (formerly SQL DW)** in the left page of the Azure portal. |
| 43 | +2. Select **mySampleDataWarehouse** from the **Azure Synapse Analytics (formerly SQL DW)** page. The SQL pool opens. |
| 44 | +3. Click **Workload management**. |
| 45 | +4. Click **New workload group**. |
| 46 | +5. Click **Custom**. |
| 47 | + |
| 48 | +  |
| 49 | + |
| 50 | +6. Enter `DataLoads` for the **Workload group**. |
| 51 | +7. Enter `20` for **Min. resources %**. |
| 52 | +8. Enter `5` for **Min. resources % per request**. |
| 53 | +9. Enter `100` for **Cap resources %**. |
| 54 | +10. Click **Save**. |
| 55 | + |
| 56 | +  |
| 57 | + |
| 58 | +A portal notification appears when the workload group is created. The workload group resources are displayed in the charts below the configured values. |
| 59 | + |
| 60 | +  |
| 61 | + |
| 62 | +## Clean up resources |
| 63 | + |
| 64 | +To delete the `DataLoads` workload group created in this tutorial: |
| 65 | +1. Click on the **`...`** to the right of the `DataLoads` workload group. |
| 66 | +2. Click on **Delete workload group**. |
| 67 | +3. Click on **Yes** when prompted to confirm deletion of the workload group. |
| 68 | +4. Click on **Save**. |
| 69 | + |
| 70 | +  |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | +You're being charged for data warehouse units and data stored in your data warehouse. These compute and storage resources are billed separately. |
| 75 | + |
| 76 | +- If you want to keep the data in storage, you can pause compute when you aren't using the data warehouse. By pausing compute, you're only charged for data storage. When you're ready to work with the data, resume compute. |
| 77 | +- If you want to remove future charges, you can delete the data warehouse. |
| 78 | + |
| 79 | +Follow these steps to clean up resources. |
| 80 | + |
| 81 | +1. Sign in to the [Azure portal](https://portal.azure.com), select on your data warehouse. |
| 82 | + |
| 83 | +  |
| 84 | + |
| 85 | +2. To pause compute, select the **Pause** button. When the data warehouse is paused, you see a **Start** button. To resume compute, select **Start**. |
| 86 | + |
| 87 | +3. To remove the data warehouse so you're not charged for compute or storage, select **Delete**. |
| 88 | + |
| 89 | +4. To remove the SQL server you created, select **sqlpoolservername.database.windows.net** in the previous image, and then select **Delete**. Be careful with this deletion, since deleting the server also deletes all databases assigned to the server. |
| 90 | + |
| 91 | +5. To remove the resource group, select **myResourceGroup**, and then select **Delete resource group**. |
| 92 | + |
| 93 | +## Next steps |
| 94 | + |
| 95 | +To use the `DataLoads` workload group, a [workload classifier](/sql/t-sql/statements/create-workload-classifier-transact-sql?toc=/azure/synapse-analytics/sql-data-warehouse/toc.json&bc=/azure/synapse-analytics/sql-data-warehouse/breadcrumb/toc.json&view=azure-sqldw-latest) needs to be created to route requests to the workload group. Continue to the [create workload classifier](quickstart-create-a-workload-classifier-portal.md) tutorial to create a workload classifier for `DataLoads`. |
| 96 | + |
| 97 | +## See also |
| 98 | +See the how-to article [Manage and monitor Workload Management](sql-data-warehouse-how-to-manage-and-monitor-workload-importance.md) for details on how to monitor workloads for workload management. |
0 commit comments