• S
    Improve RocksDB "get" performance by computing merge result in memtable · a09ee106
    Schalk-Willem Kruger 提交于
    Summary:
    Added an option (max_successive_merges) that can be used to specify the
    maximum number of successive merge operations on a key in the memtable.
    This can be used to improve performance of the "get" operation. If many
    successive merge operations are performed on a key, the performance of "get"
    operations on the key deteriorates, as the value has to be computed for each
    "get" operation by applying all the successive merge operations.
    
    FB Task ID: #3428853
    
    Test Plan:
    make all check
    db_bench --benchmarks=readrandommergerandom
    counter_stress_test
    
    Reviewers: haobo, vamsi, dhruba, sdong
    
    Reviewed By: haobo
    
    CC: zshao
    
    Differential Revision: https://reviews.facebook.net/D14991
    a09ee106
memtable.h 6.4 KB