mirror of https://github.com/facebook/rocksdb.git
9edda37027
Summary: This patch adds a option for universal compaction to allow us to only compress output files if the files compacted previously did not yet reach a specified ratio, to save CPU costs in some cases. Compression is always skipped for flushing. This is because the size information is not easy to evaluate for flushing case. We can improve it later. Test Plan: add test DBTest.UniversalCompactionCompressRatio1 and DBTest.UniversalCompactionCompressRatio12 Reviewers: dhruba, haobo Reviewed By: dhruba CC: leveldb Differential Revision: https://reviews.facebook.net/D13467 |
||
---|---|---|
.. | ||
block.cc | ||
block.h | ||
block_builder.cc | ||
block_builder.h | ||
block_test.cc | ||
filter_block.cc | ||
filter_block.h | ||
filter_block_test.cc | ||
format.cc | ||
format.h | ||
iter_heap.h | ||
iterator.cc | ||
iterator_wrapper.h | ||
merger.cc | ||
merger.h | ||
table.cc | ||
table.h | ||
table_builder.cc | ||
table_test.cc | ||
two_level_iterator.cc | ||
two_level_iterator.h |