@@ -124,9 +124,9 @@ CREATE TABLE ##BlitzCacheProcs (
124124 */
125125 TotalWorkerTimeForType BIGINT ,
126126 TotalElapsedTimeForType BIGINT ,
127- TotalReadsForType BIGINT ,
127+ TotalReadsForType DECIMAL ( 30 ) ,
128128 TotalExecutionCountForType BIGINT ,
129- TotalWritesForType BIGINT ,
129+ TotalWritesForType DECIMAL ( 30 ) ,
130130 NumberOfPlans INT ,
131131 NumberOfDistinctPlans INT ,
132132 SerialDesiredMemory FLOAT ,
@@ -2110,8 +2110,8 @@ SET @body += N') AS qs
21102110 CROSS JOIN(SELECT SUM(execution_count) AS t_TotalExecs,
21112111 SUM(CAST(total_elapsed_time AS BIGINT) / 1000.0) AS t_TotalElapsed,
21122112 SUM(CAST(total_worker_time AS BIGINT) / 1000.0) AS t_TotalWorker,
2113- SUM(CAST(total_logical_reads AS BIGINT )) AS t_TotalReads,
2114- SUM(CAST(total_logical_writes AS BIGINT )) AS t_TotalWrites
2113+ SUM(CAST(total_logical_reads AS DECIMAL(30) )) AS t_TotalReads,
2114+ SUM(CAST(total_logical_writes AS DECIMAL(30) )) AS t_TotalWrites
21152115 FROM sys.#view#) AS t
21162116 CROSS APPLY sys.dm_exec_plan_attributes(qs.plan_handle) AS pa
21172117 CROSS APPLY sys.dm_exec_sql_text(qs.sql_handle) AS st
0 commit comments