Skip to content

Commit 338906b

Browse files
committed
rsc fix2
1 parent e00f914 commit 338906b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ Cached result set is reused for a query if all of the following requirements are
6060
- There is an exact match between the new query and the previous query that generated the result set cache.
6161
- There is no data or schema changes in the tables where the cached result set was generated from.
6262

63-
Run this command to check if a query was executed with a result cache hit or miss. If there is a cache hit, the result_cache_hit will return 1.
63+
Run this command to check if a query was executed with a result cache hit or miss. The result_set_cache column returns 1 for cache hit, 0 for cache miss, and negative values for reasons why result set caching was not used. Check [sys.dm_pdw_exec_requests](https://docs.microsoft.com/sql/relational-databases/system-dynamic-management-views/sys-dm-pdw-exec-requests-transact-sql?view=aps-pdw-2016-au7) for details.
6464

6565
```sql
66-
SELECT request_id, command, result_cache_hit FROM sys.dm_pdw_exec_requests
66+
SELECT request_id, command, result_set_cache FROM sys.dm_pdw_exec_requests
6767
WHERE request_id = <'Your_Query_Request_ID'>
6868
```
6969

0 commit comments

Comments
 (0)