Skip to content

Commit 61e1784

Browse files
committed
article 1
1 parent 8eac5c2 commit 61e1784

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

articles/sql-data-warehouse/performance-tuning-result-set-caching.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Performance tuning with result set caching
3-
description: Result set caching feature overview for Azure SQL Data Warehouse
3+
description: Result set caching feature overview for SQL Analytics in Azure Synapse Analytics
44
services: sql-data-warehouse
55
author: XiaoyuMSFT
66
manager: craigg
@@ -10,11 +10,11 @@ ms.subservice: development
1010
ms.date: 10/10/2019
1111
ms.author: xiaoyul
1212
ms.reviewer: nidejaco;
13-
ms.custom: seo-lt-2019
13+
ms.custom: azure-synapse
1414
---
1515

1616
# Performance tuning with result set caching
17-
When result set caching is enabled, Azure SQL Data Warehouse automatically caches query results in the user database for repetitive use. This allows subsequent query executions to get results directly from the persisted cache so recomputation is not needed. Result set caching improves query performance and reduces compute resource usage. In addition, queries using cached results set do not use any concurrency slots and thus do not count against existing concurrency limits. For security, users can only access the cached results if they have the same data access permissions as the users creating the cached results.
17+
When result set caching is enabled, SQL Analytics automatically caches query results in the user database for repetitive use. This allows subsequent query executions to get results directly from the persisted cache so recomputation is not needed. Result set caching improves query performance and reduces compute resource usage. In addition, queries using cached results set do not use any concurrency slots and thus do not count against existing concurrency limits. For security, users can only access the cached results if they have the same data access permissions as the users creating the cached results.
1818

1919
## Key commands
2020
[Turn ON/OFF result set caching for a user database](https://docs.microsoft.com/sql/t-sql/statements/alter-database-transact-sql-set-options?view=azure-sqldw-latest)
@@ -34,7 +34,7 @@ Once result set caching is turned ON for a database, results are cached for all
3434
- Queries returning data with row size larger than 64KB
3535

3636
> [!IMPORTANT]
37-
> The operations to create result set cache and retrieve data from the cache happen on the control node of a data warehouse instance.
37+
> The operations to create result set cache and retrieve data from the cache happen on the control node of a SQL Analytics instance.
3838
> When result set caching is turned ON, running queries that return large result set (for example, >1 million rows) can cause high CPU usage on the control node and slow down the overall query response on the instance. Those queries are commonly used during data exploration or ETL operations. To avoid stressing the control node and cause performance issue, users should turn OFF result set caching on the database before running those types of queries.
3939
4040
Run this query for the time taken by result set caching operations for a query:
@@ -71,7 +71,7 @@ WHERE request_id = <'Your_Query_Request_ID'>
7171

7272
The maximum size of result set cache is 1 TB per database. The cached results are automatically invalidated when the underlying query data change.
7373

74-
The cache eviction is managed by Azure SQL Data Warehouse automatically following this schedule:
74+
The cache eviction is managed by SQL Analytics automatically following this schedule:
7575
- Every 48 hours if the result set hasn't been used or has been invalidated.
7676
- When the result set cache approaches the maximum size.
7777

@@ -82,4 +82,4 @@ Users can manually empty the entire result set cache by using one of these optio
8282
Pausing a database won't empty cached result set.
8383

8484
## Next steps
85-
For more development tips, see [SQL Data Warehouse development overview](sql-data-warehouse-overview-develop.md).
85+
For more development tips, see [development overview](sql-data-warehouse-overview-develop.md).

0 commit comments

Comments
 (0)