Chapter 15: Implementing Indexes and Statistics Flashcards

1
Q

How long is a page?

A

A 8 KB and belongs to a single object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How are pages organized?

A

Into extents. An extents consists of eight consecutives pages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the main difference between an uniform extent and a mixed extent?

A

An uniform extent just belong to an only object, whereas a mixed extent belong to more than an object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How is the data organized in SQL Server?

A

In pages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How SQL Server organizes the tables?

A

As heap or as balanced tree.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a clustered table/clustered index?

A

A table organized as balanced tree.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What happens when a table is created without specifying a primary key or unique constraint?

A

The table is organized as a heap.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is IAM?

A

SQL Server traces which pages and extents belong to an object through special system pages called Index Allocation Map (IAM) pages.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What kind of information stores the view sys.indexes?

A

General information about tables and their indexes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What kind of values stores the column “type” for the view sys.indexes?

A

0 for Heaps, 1 for clustered tables (indexes) and 2 for nonclustered tables (non indexes).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly