So, I have been reading about the implementation of LevelDB and other key-value stores which use the Log Structured Merge Tree in their implementation. I had a couple of questions on this:
- Are all the keys loaded in memory in LevelDB even in case of large datasets?
- If not, how is a key searched for, is it through binary search or any other algorithm?