OPTIONS-000020 4.9 KB
Newer Older
G
guru4elephant 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
# This is a RocksDB option file.
#
# For detailed file format spec, please refer to the example file
# in examples/rocksdb_option_file_example.ini
#

[Version]
  rocksdb_version=6.2.4
  options_file_version=1.1

[DBOptions]
  avoid_unnecessary_blocking_io=false
  allow_mmap_reads=false
  allow_fallocate=true
  WAL_size_limit_MB=0
  writable_file_max_buffer_size=1048576
  allow_mmap_writes=false
  allow_concurrent_memtable_write=true
  use_direct_reads=false
  max_open_files=-1
  strict_bytes_per_sync=false
  db_write_buffer_size=0
  max_background_jobs=2
  WAL_ttl_seconds=0
  enable_thread_tracking=false
  error_if_exists=false
  is_fd_close_on_exec=true
  recycle_log_file_num=0
  max_manifest_file_size=1073741824
  skip_log_error_on_recovery=false
  skip_stats_update_on_db_open=false
  max_total_wal_size=0
  new_table_reader_for_compaction_inputs=false
  manual_wal_flush=false
  compaction_readahead_size=0
  atomic_flush=false
  random_access_max_buffer_size=1048576
  create_missing_column_families=false
  wal_bytes_per_sync=0
  use_adaptive_mutex=false
  use_direct_io_for_flush_and_compaction=false
  max_background_compactions=-1
  advise_random_on_open=true
  base_background_compactions=-1
  max_background_flushes=-1
  two_write_queues=false
  table_cache_numshardbits=6
  keep_log_file_num=1000
  write_thread_slow_yield_usec=3
  stats_dump_period_sec=600
  avoid_flush_during_recovery=false
  log_file_time_to_roll=0
  delayed_write_rate=16777216
  manifest_preallocation_size=4194304
  paranoid_checks=true
  max_log_file_size=0
  allow_2pc=false
  wal_dir=kvdb
  db_log_dir=
  max_subcompactions=1
  create_if_missing=true
  enable_pipelined_write=false
  bytes_per_sync=0
  stats_persist_period_sec=600
  stats_history_buffer_size=1048576
  fail_if_options_file_error=false
  use_fsync=false
  wal_recovery_mode=kPointInTimeRecovery
  delete_obsolete_files_period_micros=21600000000
  enable_write_thread_adaptive_yield=true
  avoid_flush_during_shutdown=false
  write_thread_max_yield_usec=100
  info_log_level=INFO_LEVEL
  max_file_opening_threads=16
  dump_malloc_stats=false
  allow_ingest_behind=false
  access_hint_on_compaction_start=NORMAL
  preserve_deletes=false
  

[CFOptions "default"]
  sample_for_compression=0
  compaction_pri=kMinOverlappingRatio
  merge_operator=nullptr
  compaction_filter_factory=nullptr
  memtable_factory=SkipListFactory
  memtable_insert_with_hint_prefix_extractor=nullptr
  comparator=leveldb.BytewiseComparator
  target_file_size_base=67108864
  max_sequential_skip_in_iterations=8
  compaction_style=kCompactionStyleLevel
  max_bytes_for_level_base=268435456
  bloom_locality=0
  write_buffer_size=67108864
  compression_per_level=
  memtable_huge_page_size=0
  max_successive_merges=0
  arena_block_size=8388608
  memtable_whole_key_filtering=false
  target_file_size_multiplier=1
  max_bytes_for_level_multiplier_additional=1:1:1:1:1:1:1
  snap_refresh_nanos=0
  num_levels=7
  min_write_buffer_number_to_merge=1
  max_write_buffer_number_to_maintain=0
  max_write_buffer_number=2
  compression=kNoCompression
  level0_stop_writes_trigger=36
  level0_slowdown_writes_trigger=20
  compaction_filter=nullptr
  level0_file_num_compaction_trigger=4
  max_compaction_bytes=1677721600
  compaction_options_universal={allow_trivial_move=false;size_ratio=1;min_merge_width=2;max_size_amplification_percent=200;max_merge_width=4294967295;compression_size_percent=-1;stop_style=kCompactionStopStyleTotalSize;}
  memtable_prefix_bloom_size_ratio=0.000000
  hard_pending_compaction_bytes_limit=274877906944
  ttl=0
  table_factory=BlockBasedTable
  soft_pending_compaction_bytes_limit=68719476736
  prefix_extractor=nullptr
  bottommost_compression=kDisableCompressionOption
  force_consistency_checks=false
  paranoid_file_checks=false
  compaction_options_fifo={allow_compaction=false;max_table_files_size=1073741824;}
  max_bytes_for_level_multiplier=10.000000
  optimize_filters_for_hits=false
  level_compaction_dynamic_level_bytes=false
  inplace_update_num_locks=10000
  inplace_update_support=false
  periodic_compaction_seconds=0
  disable_auto_compactions=false
  report_bg_io_stats=false
  
[TableOptions/BlockBasedTable "default"]
  pin_top_level_index_and_filter=true
  enable_index_compression=true
  read_amp_bytes_per_bit=8589934592
  format_version=2
  block_align=false
  metadata_block_size=4096
  block_size_deviation=10
  partition_filters=false
  block_size=4096
  index_block_restart_interval=1
  no_block_cache=false
  checksum=kCRC32c
  whole_key_filtering=true
  index_shortening=kShortenSeparators
  data_block_index_type=kDataBlockBinarySearch
  index_type=kBinarySearch
  verify_compression=false
  filter_policy=nullptr
  data_block_hash_table_util_ratio=0.750000
  pin_l0_filter_and_index_blocks_in_cache=false
  block_restart_interval=16
  cache_index_and_filter_blocks_with_high_priority=false
  cache_index_and_filter_blocks=false
  hash_index_allow_collision=true
  flush_block_policy_factory=FlushBlockBySizePolicyFactory