Skip to content

Commit a37bda5

Browse files
Merge pull request #218125 from mariyaali/patch-5
Update sql-data-warehouse-manage-monitor.md
2 parents 36a47f5 + a2e5252 commit a37bda5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/synapse-analytics/sql-data-warehouse/sql-data-warehouse-manage-monitor.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,9 @@ ORDER BY sr.request_id;
211211
```
212212

213213
> [!NOTE]
214-
> Data Movement uses a hidden database called `QTABLE`. When that database is filled, the query will also return an error message about `tempdb` being out of space. Details about `QTABLE` are not returned in the above query.
214+
> Data Movement uses the `tempdb`. To reduce the usage of `tempdb` during data movement, ensure that your table is using a distribution strategy that [distributes data evenly](sql-data-warehouse-tables-distribute.md#choose-a-distribution-column-with-data-that-distributes-evenly).
215+
> Use [Azure Synapse SQL Distribution Advisor](../sql/distribution-advisor.md) to get recommendations on the distrbution method suited for your workloads.
216+
> Use the [Azure Synapse Toolkit](https://github.com/microsoft/Azure_Synapse_Toolbox/tree/master/TSQL_Queries/TempDB) to monitor `tempdb` using T-SQL queries.
215217
216218
If you have a query that is consuming a large amount of memory or have received an error message related to the allocation of `tempdb`, it could be due to a very large [CREATE TABLE AS SELECT (CTAS)](/sql/t-sql/statements/create-table-as-select-azure-sql-data-warehouse) or [INSERT SELECT](/sql/t-sql/statements/insert-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&preserve-view=true) statement running that is failing in the final data movement operation. This can usually be identified as a ShuffleMove operation in the distributed query plan right before the final INSERT SELECT. Use [sys.dm_pdw_request_steps](/sql/relational-databases/system-dynamic-management-views/sys-dm-pdw-request-steps-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&preserve-view=true) to monitor ShuffleMove operations.
217219

0 commit comments

Comments
 (0)