> For the complete documentation index, see [llms.txt](https://til.notdu.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.notdu.com/database/intro-to-database-systems/database-storage/database-pages.md). Agents can also search and read this documentation through its [MCP server](https://til.notdu.com/~gitbook/mcp).

# Database Pages

A page is a fixed-sized block of data

* It can contain tuple, metadata, indexes, log records...
* Most systems do not mix page types
* &#x20;Some system require a page to be self-contained

Each page is giving a unique identifier&#x20;

* The DBMS uses an indirection layer to map page ids to physical locations

There are 3 different notions of "pages" in the DBMS:

* Hardware page (usually 4KB)
* OS Page (usually 4KB)
* Database Page (512B - 16KB)

By hardware page, we mean at what level device can guarantee a "failsafe write"

![](https://2548495579-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FTsnKOX7xLvOtvOXY9MlI%2Fuploads%2F9q4lPewBzUR4cgBXzMuM%2Fimage.png?alt=media\&token=50b20879-231a-42a9-9dc8-dd996fb0c930)
