Recap
Why Persistent Memory (PM)?
- Traditional disk-oriented DBMSs have high latency I/O bottlenecks.
- In-memory DBMSs avoid disk latency but lack durability.
- Persistent Memory (PM) provides the best of both worlds:
- Fast, byte-addressable access like DRAM
- Persistence like SSDs/HDDs
Disk-Oriented vs. In-Memory DBMSs
Disk-Oriented DBMS
- Primary storage is non-volatile (SSD, HDD).
- Uses buffer pool to move pages between disk and memory.
- Page-based access (read/write in blocks).
- Slower but supports large-scale datasets.
In-Memory DBMS
- Data is stored entirely in DRAM.
- Tuple-based access (byte-addressable).
- No need for buffer pool or disk I/O.
- Much faster but limited by DRAM size.
Persistent Memory DBMSs
Why PM is a Game-Changer?