Computer Science · Computer Networks and Communications
OpenKV: LSM-tree-based key-value store for open-channel SSD
See on the mapAbstract
Log-structured merge (LSM) tree-based key-value stores, such as LevelDB and RocksDB, have seen great adoption in industry due to their high write speed. However, one major issue with LSM-based databases is the high write amplification. The root cause of this problem is the LSM tree structure that demands each level to be completely sorted. In this work, we propose OpenKV, a novel key-value store for open-channel SSD that achieves very low write amplification with good read performance. We propose a design with partially sorted levels with lazy compaction to reduce write amplification, and we have designed a central lookup table based on the cuckoo filter to utilize the open-channel SSD's direct page-level access. In our evaluation we show that compared to LevelDB, our design can reduce write traffic by 2.6x to 3.5x while improving random read performance by up to 1.8x.