Discussion about this post

User's avatar
Krishna Gupta's avatar

Hi, thank you for the wonderful article. I had a question regarding one of the points you made.

You mention that B+ trees are relatively more read-optimised than LSM trees and are therefore used in OLTP databases like PostgreSQL and MySQL. Given that OLTP systems also perform a large number of writes, I’m curious why LSM trees are not a more natural fit in this context. Is the preference for B+ trees mainly driven by factors such as predictable low-latency operations (e.g., O(log N) reads) or the overhead impact of compaction in LSM trees?

Thanks

2 more comments...

No posts

Ready for more?