DBCC Showcontig will give a detailed insight on the data pages(OS level) for the tables.
This command will scan the table and provide the below details,
- Pages Scanned......................... - Number of pages scanned (Denotes the number of pages occupied by this table )
- Extents Scanned..............................: Number of Extents scanned (Denotes the number of Extents occupied by this table )
- Extent Switches..............................: Mixed extents
- Avg. Pages per Extent........................
- Scan Density [Best Count:Actual Count].......: How the data is compacted in the page.
- Extent Scan Fragmentation ...................: Fragmentation from Extent point of view
- Avg. Bytes Free per Page.....................
- Avg. Page Density (full) ...................... (High page density denotes the data is intact and your search will be faster. If the value is less, it indicates your data is scattered.
DBCC SHOWCONTIG --- This command will provide the details for the whole database tables.
DBCC SHOWCONTIG ('Venkat_table') -- This command will provide the necessary information for that particular table.
Cheers,