rocksdb/table
Mayank Agarwal 2a986919d6 Make rocksdb-deletes faster using bloom filter
Summary:
Wrote a new function in db_impl.c-CheckKeyMayExist that calls Get but with a new parameter turned on which makes Get return false only if bloom filters can guarantee that key is not in database. Delete calls this function and if the option- deletes_use_filter is turned on and CheckKeyMayExist returns false, the delete will be dropped saving:
1. Put of delete type
2. Space in the db,and
3. Compaction time

Test Plan:
make all check;
will run db_stress and db_bench and enhance unit-test once the basic design gets approved

Reviewers: dhruba, haobo, vamsi

Reviewed By: haobo

CC: leveldb

Differential Revision: https://reviews.facebook.net/D11607
2013-07-11 12:11:11 -07:00
..
block.cc [RocksDB] Refactor table.cc to reduce code duplication and improve readability. 2013-04-29 09:43:36 -07:00
block.h [RocksDB] Refactor table.cc to reduce code duplication and improve readability. 2013-04-29 09:43:36 -07:00
block_builder.cc add block deviation option to terminate a block before it exceeds block_size 2013-05-24 15:52:49 -07:00
block_builder.h add block deviation option to terminate a block before it exceeds block_size 2013-05-24 15:52:49 -07:00
block_test.cc [RocksDB] Move table.h to table/ 2013-04-22 16:07:56 -07:00
filter_block.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
filter_block.h
filter_block_test.cc
format.cc [RocksDB] Refactor table.cc to reduce code duplication and improve readability. 2013-04-29 09:43:36 -07:00
format.h [RocksDB] Refactor table.cc to reduce code duplication and improve readability. 2013-04-29 09:43:36 -07:00
iter_heap.h
iterator.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
iterator_wrapper.h Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
merger.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
merger.h
table.cc Make rocksdb-deletes faster using bloom filter 2013-07-11 12:11:11 -07:00
table.h Make rocksdb-deletes faster using bloom filter 2013-07-11 12:11:11 -07:00
table_builder.cc [Rocksdb] Record WriteBlock Times into a histogram 2013-06-17 10:11:10 -07:00
table_test.cc [RocksDB] cleanup EnvOptions 2013-06-12 11:17:19 -07:00
two_level_iterator.cc [RocksDB] [Performance] Allow different posix advice to be applied to the same table file 2013-05-30 19:08:44 -07:00
two_level_iterator.h [RocksDB] [Performance] Allow different posix advice to be applied to the same table file 2013-05-30 19:08:44 -07:00