• I
    FIFO compaction style · 6de6a066
    Igor Canadi 提交于
    Summary:
    Introducing new compaction style -- FIFO.
    
    FIFO compaction style has write amplification of 1 (+1 for WAL) and it deletes the oldest files when the total DB size exceeds pre-configured values.
    
    FIFO compaction style is suited for storing high-frequency event logs.
    
    Test Plan: Added a unit test
    
    Reviewers: dhruba, haobo, sdong
    
    Reviewed By: dhruba
    
    Subscribers: alberts, leveldb
    
    Differential Revision: https://reviews.facebook.net/D18765
    6de6a066
db_impl_debug.cc 4.1 KB