> 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/bulk-insert.md).

# Bulk insert

The fastest/best way to build a B+Tree is to first sort the keys and then build the index from the bottom up.
