Chapter 15: Implementing Indexes and Statistics Flashcards
How long is a page?
A 8 KB and belongs to a single object.
How are pages organized?
Into extents. An extents consists of eight consecutives pages.
What is the main difference between an uniform extent and a mixed extent?
An uniform extent just belong to an only object, whereas a mixed extent belong to more than an object.
How is the data organized in SQL Server?
In pages.
How SQL Server organizes the tables?
As heap or as balanced tree.
What is a clustered table/clustered index?
A table organized as balanced tree.
What happens when a table is created without specifying a primary key or unique constraint?
The table is organized as a heap.
What is IAM?
SQL Server traces which pages and extents belong to an object through special system pages called Index Allocation Map (IAM) pages.
What kind of information stores the view sys.indexes?
General information about tables and their indexes.
What kind of values stores the column “type” for the view sys.indexes?
0 for Heaps, 1 for clustered tables (indexes) and 2 for nonclustered tables (non indexes).