rocksdb/DEFAULT_OPTIONS_HISTORY.md
Peter Dillinger 5576ded762 Add Options::DisableExtraChecks, clarify force_consistency_checks (#9363)
Summary:
In response to https://github.com/facebook/rocksdb/issues/9354, this PR adds a way for users to "opt out"
of extra checks that can impact peak write performance, which
currently only includes force_consistency_checks. I considered including
some other options but did not see a db_bench performance difference.

Also clarify in comment for force_consistency_checks that it can "slow
down saturated writing."

Pull Request resolved: https://github.com/facebook/rocksdb/pull/9363

Test Plan:
basic coverage in unit tests

Using my perf test in https://github.com/facebook/rocksdb/issues/9354 comment, I see

force_consistency_checks=true -> 725360 ops/s
force_consistency_checks=false -> 783072 ops/s

Reviewed By: mrambacher

Differential Revision: D33636559

Pulled By: pdillinger

fbshipit-source-id: 25bfd006f4844675e7669b342817dd4c6a641e84
2022-01-18 17:31:03 -08:00

1.5 KiB

RocksDB default options change log (NO LONGER MAINTAINED)

Unreleased

  • delayed_write_rate takes the rate given by rate_limiter if not specified.

5.2

  • Change the default of delayed slowdown value to 16MB/s and further increase the L0 stop condition to 36 files.

5.0 (11/17/2016)

  • Options::allow_concurrent_memtable_write and Options::enable_write_thread_adaptive_yield are now true by default
  • Options.level0_stop_writes_trigger default value changes from 24 to 32.

4.8.0 (5/2/2016)

  • options.max_open_files changes from 5000 to -1. It improves performance, but users need to set file descriptor limit to be large enough and watch memory usage for index and bloom filters.
  • options.base_background_compactions changes from max_background_compactions to 1. When users set higher max_background_compactions but the write throughput is not high, the writes are less spiky to disks.
  • options.wal_recovery_mode changes from kTolerateCorruptedTailRecords to kPointInTimeRecovery. Avoid some false positive when file system or hardware reorder the writes for file data and metadata.

4.7.0 (4/8/2016)

  • options.write_buffer_size changes from 4MB to 64MB.
  • options.target_file_size_base changes from 2MB to 64MB.
  • options.max_bytes_for_level_base changes from 10MB to 256MB.
  • options.soft_pending_compaction_bytes_limit changes from 0 (disabled) to 64GB.
  • options.hard_pending_compaction_bytes_limit changes from 0 (disabled) to 256GB.
  • table_cache_numshardbits changes from 4 to 6.
  • max_file_opening_threads changes from 1 to 16.