Section 5 Flashcards

1
Q

Heap Table

A

No order is imposed on rows. The database maintains a list of blocks assigned to the table, along with the address of the first available space for inserts. If all blocks are full, the database allocates a new block and inserts rows in the new block

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

What are heap tables not optimized for?

A

Queries that read rows in a specific order, such as a range of primary key values, since rows are scattered randomly across storage media.

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

Sorted table

A

The database designer identifies a sort column that determines physical row order.

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

Binary Search

A

the database repeatedly splits the index in two until it finds the entry containing the search value

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

Logical Design

A

specifies tables, columns, and keys

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

Physical Design

A

specifies indexes, table structures, and partitions

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