Midterm 1 Things to memorize Flashcards

1
Q

What is Pointer swizzling?

A

the process for converting disk pointers to memory pointers and vice versa when blocks move between memory and disk

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

RAID level capacities

A

RAID Level 0 capacity: N
RAID Level 1 capacity: N/2
RAID Level 5 capacity: N-1

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

Join I/O calculations: Worst case formula

A

T(R) * T(S)

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

Join I/O calculations: Block Nested-Loop Join formula

A

B(S) + B(R) * (B(S)/M-1)

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

Join I/O calculations: Hybrid Hash Join formula

A

(3 - (2M/B(S) ) * (B(R) + B(S))

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

6 storing Records

A
  1. Separation
  2. Spanning
  3. Clustering
  4. Splitting
  5. Ordering
  6. Addressing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Separation

A

how do we separate adjacent records

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

Spanning

A

can a record cross a block boundary?

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

Clustering

A

can a block cross a block boundary?

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

Splitting

A

are records allocated in multiple blocks?

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

Ordering

A

are the records sorted in any way?

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

Addressing

A

how do we reference a given record?

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