Storage Management

COMP9315 21T1 ♢ Storage Management ♢ [0/10]
❖ Storage Management

Lowest levels of DBMS related to storage management:

[Diagram:Pics/storage/dbmsarch.png]

COMP9315 21T1 ♢ Storage Management ♢ [1/10]
❖ Storage Technology

Persistent storage is

Computational storage is Access cost HDD:RAM ≅ 100000:1, e.g.
COMP9315 21T1 ♢ Storage Management ♢ [2/10]
❖ Storage Technology (cont)

Hard disk drives (HDD) are well-established, cheap, high-volume, ...

Latency: move to track + spin to block = ~10ms (avg)

Volume: one HDD can store up to 20TB (typically 4TB/8TB/...)


Summary:  very large,  persistent,  slow,  block-based transfer

COMP9315 21T1 ♢ Storage Management ♢ [3/10]
❖ Storage Technology (cont)

Solid state drives (SSD) are modern, high-volume devices ...

Volume: one SSD can store up to 8TB (typically 1TB/2TB/...)


Summary:  large,  persistent,  fast,  (partly) block-based transfer

COMP9315 21T1 ♢ Storage Management ♢ [4/10]
❖ Storage Technology (cont)

Comparison of storage device properties:

  RAM HDD SDD
Capacity ~ 32GB ~ 8TB ~ 2TB
Cost/byte ~ $10 / GB ~ $40 / TB ~ $200 / TB
Read latency ~ 1µs ~ 10ms ~ 50µs
Write latency ~ 1µs ~ 10ms ~ 900µs
Read unit byte block (e.g. 1KB) byte
Writing byte write a block write on empty block

COMP9315 21T1 ♢ Storage Management ♢ [5/10]
❖ Storage Technology (cont)

Aims of storage management in DBMS:

COMP9315 21T1 ♢ Storage Management ♢ [6/10]
❖ Views of Data in Query Evaluation

[Diagram:Pics/storage/query-ops.png]

COMP9315 21T1 ♢ Storage Management ♢ [7/10]
❖ Views of Data in Query Evaluation (cont)

Representing database objects during query execution:

Addressing in DBMSs:
COMP9315 21T1 ♢ Storage Management ♢ [8/10]
❖ Storage Management

Topics in storage management ...

COMP9315 21T1 ♢ Storage Management ♢ [9/10]
❖ Cost Models

Throughout this course, we compare costs of DB operations

Important aspects in determining cost:

Complicating factors in determining costs: More details later ...
COMP9315 21T1 ♢ Storage Management ♢ [10/10]


Produced: 17 Feb 2021