rocksdb/examples
Yueh-Hsuan Chiang 0bb8ea56be [RocksDB Options File] Add TableOptions section and support BlockBasedTable
Summary:
Introduce TableOptions section and support BlockBasedTable in RocksDB
options file.  A TableOptions section has the following format:

  [TableOptions/<FactoryClassName> "<ColumnFamily Name>"]

which includes information about its TableFactory class and belonging
column family.  Below is an example TableOptions section of a
BlockBasedTableOptions that belongs to the default column family:

  [TableOptions/BlockBasedTable "default"]
    format_version=0
    whole_key_filtering=true
    block_size_deviation=10
    block_size=4096
    block_restart_interval=16
    filter_policy=nullptr
    no_block_cache=false
    checksum=kCRC32c
    cache_index_and_filter_blocks=false
    index_type=kBinarySearch
    hash_index_allow_collision=true
    flush_block_policy_factory=FlushBlockBySizePolicyFactory

Currently, Cache-type options (i.e., block_cache and block_cache_compressed)
are not supported.

Test Plan: options_test

Reviewers: igor, anthony, IslamAbdelRahman, sdong

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D48435
2015-10-11 12:17:42 -07:00
..
.gitignore Compaction filter on merge operands 2015-10-07 09:30:03 -07:00
Makefile Compaction filter on merge operands 2015-10-07 09:30:03 -07:00
README.md Make it easier to start using RocksDB 2014-05-10 10:49:33 -07:00
c_simple_example.c fix typo in c_simple_example 2015-05-22 16:13:11 -07:00
column_families_example.cc fix really trivial typo 2014-12-22 00:36:16 -05:00
compact_files_example.cc Fix compact_files_example 2015-08-25 12:29:44 -07:00
compaction_filter_example.cc Compaction filter on merge operands 2015-10-07 09:30:03 -07:00
optimistic_transaction_example.cc Pessimistic Transactions 2015-08-11 17:52:23 -07:00
rocksdb_option_file_example.ini [RocksDB Options File] Add TableOptions section and support BlockBasedTable 2015-10-11 12:17:42 -07:00
simple_example.cc Added WriteBatch block to simple_example.cc 2015-01-27 19:37:36 -05:00
transaction_example.cc Pessimistic Transactions 2015-08-11 17:52:23 -07:00

README.md

Compile RocksDB first by executing make static_lib in parent dir