From the course: Microsoft Azure Synapse for Developers
Unlock this course with a free trial
Join today to access over 25,600 courses taught by industry experts.
Analyzing data distribution
From the course: Microsoft Azure Synapse for Developers
Analyzing data distribution
- [Instructor] In this demo, we are going to talk about distribution and how to verify that the data is distributed properly. To view how the data is distributed for a table, since each table is distributed throughout 60 distributions, we can use the following command: SHOWSPACEUSED, and then we specify the table name. If we run it, then we should get data about our distributions. Let's go ahead and explore it. We have ROWS, so how many rows are in each distribution. And it looks like our distribution is pretty even. We have RESERVED_SPACE, DATA_SPACE, INDEX_SPACE, UNUSED_SPACE, and the DISTRIBUTION_ID. So we have one, and then we should have up to 60. What we are interested in is ROWS as that's what we are going to do to JOINs and WHERE clauses, et cetera. So the number of rows should be very close to each other in order for optimal query performance. Now, this is not very easy to view, so let's go ahead and move to the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
Querying, labeling, and tracking data warehouse performance6m 32s
-
(Locked)
Transactions in dedicated SQL pool3m 43s
-
(Locked)
Optimizing queries with materialized views4m 21s
-
(Locked)
Connecting using external clients2m 53s
-
(Locked)
Creating and updating statistics3m 46s
-
(Locked)
Analyzing data distribution5m 23s
-
(Locked)
-