Details
This update improves the tempdb spill diagnostics by making the following changes in SQL Server 2017 and Microsoft SQL Server 2016 Service Pack 2 (SP2):
-
Adds the following columns to the sys.dm_exec_query_stats, sys.dm_exec_procedure_stats, and sys.dm_exec_trigger_stats DMVs.
Column |
Type |
Description |
---|---|---|
total_spills |
bigint |
Total number of pages spilled by execution of this plan since it was compiled. |
last_spills |
bigint |
Number of pages spilled the last time the plan was executed |
min_spills |
bigint |
Minimum number of pages that this plan has ever spilled during a single execution |
max_spills |
bigint |
Maximum number of pages that this plan has ever spilled during a single execution |
-
Adds the following counters to the sql_statement_completed, sp_statement_completed, and sql_batch_completed Extended Events.
XEvent |
Column |
Type |
Description |
---|---|---|---|
sql_statement_completed |
spills |
bigint |
The number of pages that were written while spilling data by the statement |
sp_statement_completed |
spills |
bigint |
The number of pages that were written while spilling data by the stored procedure |
sql_batch_completed |
spills |
bigint |
The number of pages written while spilling data by the batch. |
Resolution
Cumulative Update Information for SQL Server:
This update is included in the following cumulative update for SQL Server:
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:
Service pack information for SQL Server 2016
This update is introduced in the following service pack for SQL Server:
Service packs are cumulative. Each new service pack contains all the fixes that are in previous service packs, together with any new fixes. Our recommendation is to apply the latest service pack and the latest cumulative update for that service pack. You do not have to install a previous service pack before you install the latest service pack. Use Table 1 in the following article for finding more information about the latest service pack and latest cumulative update.
How to determine the version, edition and update level of SQL Server and its components
References
Learn about the terminologythat Microsoft uses to describe software updates.