rocksdb/examples
Maysam Yabandeh 80ade9ad83 Pin top-level index on partitioned index/filter blocks (#4037)
Summary:
Top-level index in partitioned index/filter blocks are small and could be pinned in memory. So far we use that by cache_index_and_filter_blocks to false. This however make it difficult to keep account of the total memory usage. This patch introduces pin_top_level_index_and_filter which in combination with cache_index_and_filter_blocks=true keeps the top-level index in cache and yet pinned them to avoid cache misses and also cache lookup overhead.
Closes https://github.com/facebook/rocksdb/pull/4037

Differential Revision: D8596218

Pulled By: maysamyabandeh

fbshipit-source-id: 3a5f7f9ca6b4b525b03ff6bd82354881ae974ad2
2018-06-22 15:27:46 -07:00
..
.gitignore Update .gitignore file in examples 2017-03-23 11:24:14 -07:00
c_simple_example.c Change RocksDB License 2017-07-15 16:11:23 -07:00
column_families_example.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
compact_files_example.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
compaction_filter_example.cc Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
Makefile Replace dynamic_cast<> 2017-07-28 16:27:16 -07:00
optimistic_transaction_example.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
options_file_example.cc Change RocksDB License 2017-07-15 16:11:23 -07:00
README.md Improve examples/README.md 2015-12-16 16:27:37 +01:00
rocksdb_option_file_example.ini Pin top-level index on partitioned index/filter blocks (#4037) 2018-06-22 15:27:46 -07:00
simple_example.cc Pinnableslice examples and blog post 2017-08-24 12:26:07 -07:00
transaction_example.cc Change RocksDB License 2017-07-15 16:11:23 -07:00

  1. Compile RocksDB first by executing make static_lib in parent dir
  2. Compile all examples: cd examples/; make all