What is a page?
What is an extent?
What happens when an object exceeds 8 pages?
SQL server allocates additional uniform extents for this object.
What is a heap?
A heap is just a bunch of pages and extents.
How does SQL server track where pages and extent belong?
Using a special page called Index Allocation Map to trace which page and extent belong to an object.
How many levels does a clustered index (TREE) has?
What is internal fragmentation?
What is external fragmentation?
Clustered index only
When pages are physical out of order.
Non clustered index levels?
Similar to clustered index
How is row identifier used?
It depends if the underlying table is a heap or a balanced tree.
What is a filtered index?
Filter index is a nonclustered index optimized to cover queries that select from a well defined subset of data.
What is columnstore index?
What are the steps to create indexed view?
Waht does SQL server use to aggregate data?
Why use INCLUDE with CREATE INDEX?
Add nonkey column to the non clustered index so that the queries are covered.
What does DBCC SHOW_STATISTICS return?