concept most page in category sql
appears as: most page, most page

This is an excerpt from Manning's book SQL Server DMVs in Action: Better Queries with Dynamic Management Views.
Listing 9.13. Indexes with the most page I/O-latch contention
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED SELECT TOP 20 x.name AS SchemaName , OBJECT_NAME(s.object_id) AS TableName , i.name AS IndexName , s.page_io_latch_wait_count , s.page_io_latch_wait_in_ms FROM sys.dm_db_index_operational_stats(db_ID(), NULL, NULL, NULL) s INNER JOIN sys.objects o ON s.object_id = o.object_id INNER JOIN sys.indexes i ON s.index_id = i.index_id AND i.object_id = o.object_id INNER JOIN sys.schemas x ON x.schema_id = o.schema_id WHERE s.page_io_latch_wait_in_ms > 0 AND o.is_ms_shipped = 0 ORDER BY s.page_io_latch_wait_in_ms DESC
The output identifies the name of the schema, table, and index of the indexes that have had the most page I/O-latch waits. The cause of these page I/O-latches and a possible solution are discussed in the previous section relating to page latches.