rocksdb/util
Igor Canadi 6de6a06631 FIFO compaction style
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
2014-05-21 11:43:35 -07:00
..
arena.cc declare kInline size in arena.cc 2014-05-14 12:40:49 -07:00
arena.h Fix errors while building with clang 2014-05-15 12:34:53 +08:00
arena_test.cc Arena to inline 2KB of data in it. 2014-05-14 11:49:01 -07:00
auto_roll_logger.cc
auto_roll_logger.h
auto_roll_logger_test.cc
autovector.h autovector::resize 2014-05-08 13:50:49 -07:00
autovector_test.cc autovector::resize 2014-05-08 13:50:49 -07:00
benchharness.cc Fix more signed/unsigned comparsions 2014-04-29 12:40:18 -07:00
benchharness.h log_and_apply_bench on a new benchmark framework 2014-05-05 11:11:48 -07:00
benchharness_test.cc Fix unsigned and signed integer compare 2014-04-29 12:29:22 -07:00
blob_store.cc
blob_store.h
blob_store_test.cc
bloom.cc
bloom_test.cc Fix more gflag namespace issues 2014-05-09 08:41:02 -07:00
build_version.h
cache.cc ApplyToAllCacheEntries 2014-05-02 16:24:04 -04:00
cache_test.cc ApplyToAllCacheEntries 2014-05-02 16:24:04 -04:00
coding.cc
coding.h
coding_test.cc
comparator.cc
crc32c.cc
crc32c.h
crc32c_test.cc
dynamic_bloom.cc Pass logger to memtable rep and TLB page allocation error logged to info logs 2014-05-05 16:43:37 -07:00
dynamic_bloom.h Pass logger to memtable rep and TLB page allocation error logged to info logs 2014-05-05 16:43:37 -07:00
dynamic_bloom_test.cc Fix more gflag namespace issues 2014-05-09 08:41:02 -07:00
env.cc
env_hdfs.cc cleanup exception text 2014-05-21 07:54:22 -04:00
env_posix.cc Print pthread_t in a more safe way 2014-05-22 01:24:42 +08:00
env_test.cc - hdfs cleanup; fix to NewDirectory to comply with definition in env.h 2014-05-21 07:50:37 -04:00
filelock_test.cc
filter_policy.cc
hash.cc
hash.h
hash_cuckoo_rep.cc Pass logger to memtable rep and TLB page allocation error logged to info logs 2014-05-05 16:43:37 -07:00
hash_cuckoo_rep.h Pass logger to memtable rep and TLB page allocation error logged to info logs 2014-05-05 16:43:37 -07:00
hash_linklist_rep.cc HashLinkedList::Iterator: remove an ununsed class variable 2014-05-08 13:28:52 -07:00
hash_linklist_rep.h Pass logger to memtable rep and TLB page allocation error logged to info logs 2014-05-05 16:43:37 -07:00
hash_skiplist_rep.cc Pass logger to memtable rep and TLB page allocation error logged to info logs 2014-05-05 16:43:37 -07:00
hash_skiplist_rep.h Pass logger to memtable rep and TLB page allocation error logged to info logs 2014-05-05 16:43:37 -07:00
histogram.cc
histogram.h
histogram_test.cc
ldb_cmd.cc Support for adding TTL-ed column family 2014-04-28 20:34:20 -07:00
ldb_cmd.h Support for adding TTL-ed column family 2014-04-28 20:34:20 -07:00
ldb_cmd_execute_result.h
ldb_tool.cc
log_buffer.cc
log_buffer.h Fix errors while building with clang 2014-05-15 12:34:53 +08:00
log_write_bench.cc Fix more gflag namespace issues 2014-05-09 08:41:02 -07:00
logging.cc Clean up compaction logging 2014-05-14 12:13:50 -07:00
logging.h Clean up compaction logging 2014-05-14 12:13:50 -07:00
manual_compaction_test.cc
murmurhash.cc
murmurhash.h
mutexlock.h
options.cc FIFO compaction style 2014-05-21 11:43:35 -07:00
perf_context.cc
perf_context_imp.h
posix_logger.h
random.h
signal_test.cc Print out stack trace in mac, too 2014-04-23 09:11:35 -04:00
skiplistrep.cc Pass logger to memtable rep and TLB page allocation error logged to info logs 2014-05-05 16:43:37 -07:00
slice.cc FixedPrefixTransform to include prefix length in its name 2014-05-13 16:08:21 -07:00
statistics.cc
statistics.h
stats_logger.h
status.cc
stl_wrappers.h
stop_watch.h
string_util.cc
string_util.h
sync_point.cc
sync_point.h Fix ifdef NDEBUG 2014-04-17 14:29:28 -07:00
testharness.cc Better stack trace in MAC 2014-04-25 09:50:51 -04:00
testharness.h Print out stack trace in mac, too 2014-04-23 09:11:35 -04:00
testutil.cc
testutil.h
thread_local.cc simplify ThreadLocalPtr a little bit 2014-04-22 21:13:34 -07:00
thread_local.h simplify ThreadLocalPtr a little bit 2014-04-22 21:13:34 -07:00
thread_local_test.cc simplify ThreadLocalPtr a little bit 2014-04-22 21:13:34 -07:00
vectorrep.cc Pass logger to memtable rep and TLB page allocation error logged to info logs 2014-05-05 16:43:37 -07:00
xxhash.cc xxHash 2014-05-01 14:09:32 -04:00
xxhash.h xxHash 2014-05-01 14:09:32 -04:00