Database System: Storage Flashcards

1
Q

Block

A

A logical unit consisting of a fixed number of contiguous sectors.

Block size is fixed during initialisation and cannot be changed dynamically. The block size ranges from 512B to 8Kb

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

Input/Output I/O

A

The transfer of one block between main memory and hard disk

The number of I/O is used to evaluate the efficiency of a data structure/algorithm.

A block can be called a page in database

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

Database in file storage

A

A collection of filles on disk

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

File

A

A collection of blocks

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

A block

A

Can contain tones metadata, indexes, log records

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

Pin

A

Number of threads accessing the page

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

Hit rate

A

The total number of hits over the total number of requests

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

Buffer replacement policy

A

When the DBMS needs to free up a frame to make room for a new page, it must decide which page to evict from the buffer pool.

LRU
Clock
MRU

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

RAID

A

Redundant Array of Independent Disks

It’s a method of storing the same data on multiple hard disks. By placing data in multiple disks, I/O operations can overlap in a balanced way, improving performance. Because multiple disks increase the mean time between failures (MTBF) and storing data independently increases fault tolerance.

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

Buffer pool

A

Available main memory used for storing copies of disk blocks

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

Buffer manager

A

A DBMS subsystem that manages the buffer pool, aiming at minimizing I/Os.

Component of the DBMS that manages the memory and the move of data between the main memory and the disk

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