> 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/tree-indexes-i/node-size.md).

# Node size

The slower the storage device, the larger the optimal node size for a B+Tree.

-> HDD \~1MB

-> SSD: \~10KB

-> In-Memory: 512B

Optimal sizes can vary depending on the workload

-> Leaf Node Scans vs. Root-to-Leaf Traversals
