Skip to content

Comment on Cache-Friendly B+Tree Nodes with Dynamic Fanout

Comments

is there an implementation of B+ trees that fluidly pulls from disk vs RAM?

e.g., two B+ trees, one in RAM and one on disk, with the RAM one evicted with sieve caching? possibly a very lite WAL?

something that lets you use a B+ tree bigger than RAM, and persist to disk

Pretty much every OLTP database contains an implementation of that.

https://www.youtube.com/playlist?list=PLSE8ODhjZXjYMAgsGH-Gt...

You can implement a BTree with nodes stored in file-backed memmaps. It's plenty fast for the usual business case.

That's a type of Log-structured merge-tree.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.