Paging the data
dev.to·5d·
Discuss: DEV
🗃️Database Storage
Preview
Report Post

Originally published at https://tudor96stani.github.io/trdb-blog/paging-the-data/

Intro

At the foundation of any database engine is the storage layer - responsible for handling the actual persistence and retrieval of data on disk. In this post, I will go over database pages, the universally adopted abstraction for how the engine interacts with the disk. The theoretical part of the article does not propose any new design, but rather summarizes how databases typically structure and use pages. I then walk through my own implementation of database pages, which, while custom-built, follows closely the structure and behavior described in the theoretical overview.

Why pages

A database page (also referred to as a b…

Similar Posts

Loading similar posts...