Skip to content

Commit 0eab78e

Browse files
Update sp_BlitzLock.sql
Removes the `_num` from the physical reads columns, which aren't available in SQL Server 2016. Replaces them with columns that are available with physical reads metrics.
1 parent 0bd3106 commit 0eab78e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

sp_BlitzLock.sql

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3665,8 +3665,8 @@ BEGIN
36653665
ap.avg_elapsed_time,
36663666
ap.total_logical_reads_mb,
36673667
ap.total_physical_reads_mb,
3668-
ap.min_num_physical_reads_mb,
3669-
ap.max_num_physical_reads_mb,
3668+
ap.min_physical_reads_mb,
3669+
ap.max_physical_reads_mb,
36703670
ap.total_logical_writes_mb,
36713671
ap.min_grant_mb,
36723672
ap.max_grant_mb,
@@ -3733,10 +3733,10 @@ BEGIN
37333733
deqs.total_logical_writes * 8. / 1024.,
37343734
total_logical_reads_mb =
37353735
deqs.total_logical_reads * 8. / 1024.,
3736-
min_num_physical_reads_mb =
3737-
deqs.min_num_physical_reads * 8. / 1024.,
3738-
max_num_physical_reads_mb =
3739-
deqs.max_num_physical_reads * 8. / 1024.,
3736+
min_physical_reads_mb =
3737+
deqs.min_physical_reads * 8. / 1024.,
3738+
max_physical_reads_mb =
3739+
deqs.max_physical_reads * 8. / 1024.,
37403740
min_grant_mb =
37413741
deqs.min_grant_kb * 8. / 1024.,
37423742
max_grant_mb =

0 commit comments

Comments
 (0)