Skip to content

Commit 5511b70

Browse files
committed
Freshness updates
1 parent abbbbec commit 5511b70

File tree

1 file changed

+31
-6
lines changed

1 file changed

+31
-6
lines changed

articles/synapse-analytics/get-started-analyze-sql-pool.md

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,38 @@ description: In this tutorial, use the NYC Taxi sample data to explore SQL pool'
44
author: whhender
55
ms.author: whhender
66
ms.reviewer: whhender, wiassaf
7-
ms.date: 10/16/2023
7+
ms.date: 12/11/2024
88
ms.service: azure-synapse-analytics
99
ms.subservice: sql
1010
ms.topic: tutorial
1111
ms.custom: engagement-fy23
1212
---
1313

14-
# Analyze data with dedicated SQL pools
14+
# Tutorial: Analyze data with dedicated SQL pools
1515

1616
In this tutorial, use the NYC Taxi data to explore a dedicated SQL pool's capabilities.
1717

18+
> [!div class="checklist"]
19+
> * [Deploy a dedicated SQL pool]
20+
> * [Load data into the pool]
21+
> * [Explore the data you've loaded]
22+
23+
## Prerequisites
24+
25+
* This tutorial assumes you've completed the steps in the rest of the quickstarts. Specifically it uses the 'contosodatalake' resource created in [the Create a Synapse Workspace quickstart.](get-started-create-workspace.md#place-sample-data-into-the-primary-storage-account)
26+
1827
## Create a dedicated SQL pool
1928

2029
1. In Synapse Studio, on the left-side pane, select **Manage** > **SQL pools** under **Analytics pools**.
2130
1. Select **New**.
2231
1. For **Dedicated SQL pool name** select `SQLPOOL1`.
2332
1. For **Performance level** choose **DW100C**.
24-
1. Select **Review + create** > **Create**. Your dedicated SQL pool will be ready in a few minutes.
33+
1. Select **Review + create** > **Create**. Your dedicated SQL pool will be ready in a few minutes.
2534

2635
Your dedicated SQL pool is associated with a SQL database that's also called `SQLPOOL1`.
2736

2837
1. Navigate to **Data** > **Workspace**.
29-
1. You should see a database named **SQLPOOL1**. If you do not see it, select **Refresh**.
38+
1. You should see a database named **SQLPOOL1**. If you don't see it, select **Refresh**.
3039

3140
A dedicated SQL pool consumes billable resources as long as it's active. You can pause the pool later to reduce costs.
3241

@@ -83,13 +92,20 @@ A dedicated SQL pool consumes billable resources as long as it's active. You can
8392
,IDENTITY_INSERT = 'OFF'
8493
)
8594
```
95+
96+
>[!TIP]
97+
>If you get an error that reads `Login failed for user '<token-identified principal>'`, you need to set your Entra Id admin.
98+
> 1. In the Azure Portal, search for your synapse workspace.
99+
> 1. Under **Settings** select **Microsoft Entra ID**.
100+
> 1. Select **Set admin** and set a Microsoft Entra ID admin.
101+
86102
1. Select the **Run** button to execute the script.
87103
1. This script finishes in less than 60 seconds. It loads 2 million rows of NYC Taxi data into a table called `dbo.NYCTaxiTripSmall`.
88104

89105
## Explore the NYC Taxi data in the dedicated SQL pool
90106

91107
1. In Synapse Studio, go to the **Data** hub.
92-
1. Go to **SQLPOOL1** > **Tables**.
108+
1. Go to **SQLPOOL1** > **Tables**. (If you don't see it in the menu, refresh the page.)
93109
1. Right-click the **dbo.NYCTaxiTripSmall** table and select **New SQL Script** > **Select TOP 100 Rows**.
94110
1. Wait while a new SQL script is created and runs.
95111
1. At the top of the SQL script **Connect to** is automatically set to the SQL pool called **SQLPOOL1**.
@@ -110,7 +126,16 @@ A dedicated SQL pool consumes billable resources as long as it's active. You can
110126
111127
This query creates a table `dbo.PassengerCountStats` with aggregate data from the `trip_distance` field, then queries the new table. The data shows how the total trip distances and average trip distance relate to the number of passengers.
112128
1. In the SQL script result window, change the **View** to **Chart** to see a visualization of the results as a line chart. Change **Category column** to `PassengerCount`.
113-
129+
130+
## Clean up
131+
132+
Pause your dedicated SQL Pool to reduce costs.
133+
134+
1. Navigate to **Manage** in your synapse workspace.
135+
1. Select **SQL pools**.
136+
1. Hover over SQLPOOL1 and select the **Pause** button.
137+
1. Confirm to pause.
138+
114139
## Next step
115140
116141
> [!div class="nextstepaction"]

0 commit comments

Comments
 (0)