top of page

Search
SQL Server Index Read/Write stats (all tables in current DB) ordered by Writes
SELECT OBJECT_NAME(s.[object_id]) AS [ObjectName], i.name AS [IndexName], i.index_id, s.user_updates AS [Writes], user_seeks + user_scans...
Kunal Ranpura
Aug 12, 20191 min read
15 views
0 comments
SQL Server Index Read/Write stats (all tables in current DB) ordered by Reads
SELECT OBJECT_NAME(s.[object_id]) AS [ObjectName], i.name AS [IndexName], i.index_id, user_seeks + user_scans + user_lookups AS [Reads],...
Kunal Ranpura
Aug 12, 20191 min read
9 views
0 comments
SQL Server missing indexes from cached plans in the current database
-- Find missing index warnings for cached plans in the current database -- Note: This query could take some time on a busy instance...
Kunal Ranpura
Aug 12, 20191 min read
9 views
0 comments
SQL Server Missing Indexes current database by Index Advantage
SELECT user_seeks * avg_total_user_cost * (avg_user_impact * 0.01) AS [index_advantage], migs.last_user_seek, mid.[statement] AS...
Kunal Ranpura
Aug 12, 20191 min read
17 views
0 comments
bottom of page