dain / leveldb

Port of LevelDB to Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does leveldb have an in-memory mode?

lei-houjyu opened this issue · comments

If it does, how to turn it on? It seems no relevant description in READ.ME.

No. The design target of leveldb is a local on-disk storage system. If only in-memory is took into consideration, there is no need to append-only every write to *.log file before into memtable, also no need to do background compaction among different *.ldb file (sstable) of different levels.