rocksdb/tools
Dhruba Borthakur 4012ca1c7b Added a parameter to limit the maximum space amplification for universal compaction.
Summary:
Added a new field called max_size_amplification_ratio in the
CompactionOptionsUniversal structure. This determines the maximum
percentage overhead of space amplification.

The size amplification is defined to be the ratio between the size of
the oldest file to the sum of the sizes of all other files. If the
size amplification exceeds the specified value, then min_merge_width
and max_merge_width are ignored and a full compaction of all files is done.
A value of 10 means that the size a database that stores 100 bytes
of user data could occupy 110 bytes of physical storage.

Test Plan: Unit test DBTest.UniversalCompactionSpaceAmplification added.

Reviewers: haobo, emayanke, xjin

Reviewed By: haobo

CC: leveldb

Differential Revision: https://reviews.facebook.net/D12825
2013-09-13 16:27:18 -07:00
..
shell Titile: a command line shell to read/write data from a leveldb thrift server 2012-08-23 09:41:05 -07:00
db_crashtest2.py Add universal compaction to db_stress nightly build 2013-08-20 17:37:49 -07:00
db_crashtest.py Add universal compaction to db_stress nightly build 2013-08-20 17:37:49 -07:00
db_repl_stress.cc Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
db_stress.cc Added a parameter to limit the maximum space amplification for universal compaction. 2013-09-13 16:27:18 -07:00
ldb_test.py Enhance the ldb tool to support ttl databases 2013-05-15 12:10:00 -07:00
ldb.cc Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
reduce_levels_test.cc Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00
sst_dump.cc Replace include/leveldb with include/rocksdb. 2013-08-23 10:51:00 -07:00