• D
    Compact multiple memtables before flushing to storage. · 6acbe0fc
    Dhruba Borthakur 提交于
    Summary:
    Merge multiple multiple memtables in memory before writing it
    out to a file in L0.
    
    There is a new config parameter min_write_buffer_number_to_merge
    that specifies the number of write buffers that should be merged
    together to a single file in storage. The system will not flush
    wrte buffers to storage unless at least these many buffers have
    accumulated in memory.
    The default value of this new parameter is 1, which means that
    a write buffer will be immediately flushed to disk as soon it is
    ready.
    
    Test Plan: make check
    
    Differential Revision: https://reviews.facebook.net/D11241
    6acbe0fc
memtable.h 4.2 KB