Find a file
Andrew Kryczka 2dda7a0dd2 Detect compaction pressure at lower debt ratios (#12236)
Summary:
This PR significantly reduces the compaction pressure threshold introduced in https://github.com/facebook/rocksdb/issues/12130 by a factor of 64x. The original number was too high to trigger in scenarios where compaction parallelism was needed.

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

Reviewed By: cbi42

Differential Revision: D52765685

Pulled By: ajkr

fbshipit-source-id: 8298e966933b485de24f63165a00e672cb9db6c4
2024-01-15 22:41:18 -08:00
.circleci Initial CircleCI -> GitHub Actions migration (#12163) 2023-12-21 15:40:21 -08:00
.github Disable GitHub Actions jobs on forks (#12191) 2023-12-28 17:23:18 -08:00
buckifier
build_tools Initial CircleCI -> GitHub Actions migration (#12163) 2023-12-21 15:40:21 -08:00
cache Add some compressed and tiered secondary cache stats (#12150) 2023-12-15 11:34:08 -08:00
cmake
coverage
db Detect compaction pressure at lower debt ratios (#12236) 2024-01-15 22:41:18 -08:00
db_stress_tool Abort verification when expected state has pending writes / db return non OK(NotFound) status (#12232) 2024-01-12 12:23:09 -08:00
docs
env Refactor FilePrefetchBuffer code (#12097) 2024-01-05 09:29:01 -08:00
examples
file Fix heap use after free error in FilePrefetchBuffer (#12211) 2024-01-05 18:10:58 -08:00
fuzz
include/rocksdb env.h: static constexpr kDoNotSupportGetLogFileSize (#12203) 2024-01-10 15:59:01 -08:00
java Add of javadoc and sources JAR to CMake build. (#12199) 2024-01-10 09:46:00 -08:00
logging Group SST write in flush, compaction and db open with new stats (#11910) 2023-12-29 15:29:23 -08:00
memory internal_repo_rocksdb (-8794174668376270091) (#12114) 2023-12-01 11:10:30 -08:00
memtable internal_repo_rocksdb (-8794174668376270091) (#12114) 2023-12-01 11:10:30 -08:00
microbench internal_repo_rocksdb (-8794174668376270091) (#12114) 2023-12-01 11:10:30 -08:00
monitoring Group SST write in flush, compaction and db open with new stats (#11910) 2023-12-29 15:29:23 -08:00
options Group SST write in flush, compaction and db open with new stats (#11910) 2023-12-29 15:29:23 -08:00
plugin
port internal_repo_rocksdb (-8794174668376270091) (#12114) 2023-12-01 11:10:30 -08:00
table Fix a bug in sst_dump when parsing PlainTable (#12223) 2024-01-12 14:56:10 -08:00
test_util Group SST write in flush, compaction and db open with new stats (#11910) 2023-12-29 15:29:23 -08:00
third-party
tools Disable LockWAL() for multiops_wp_txn stress test (#12221) 2024-01-11 15:54:11 -08:00
trace_replay Trace analyzer: replace number with enumeration type (#10827) 2023-12-27 10:38:53 -08:00
unreleased_history Detect compaction pressure at lower debt ratios (#12236) 2024-01-15 22:41:18 -08:00
util Fix gcc12 build failure caused by INT_MIN in NumberToHumanString (#12215) 2024-01-10 10:17:31 -08:00
utilities Fix a case of ignored corruption in creating backups (#12200) 2024-01-05 09:48:19 -08:00
.clang-format
.gitignore
.lgtm.yml
.watchmanconfig
AUTHORS
CMakeLists.txt Fix gcc12 build failure caused by INT_MIN in NumberToHumanString (#12215) 2024-01-10 10:17:31 -08:00
CODE_OF_CONDUCT.md
common.mk
CONTRIBUTING.md
COPYING
crash_test.mk
DEFAULT_OPTIONS_HISTORY.md
DUMP_FORMAT.md
HISTORY.md Update HISTORY/version/format compatibility script for the 8.10 release (#12154) 2023-12-15 14:44:23 -08:00
INSTALL.md
issue_template.md
LANGUAGE-BINDINGS.md
LICENSE.Apache
LICENSE.leveldb
Makefile Fix gcc12 build failure caused by INT_MIN in NumberToHumanString (#12215) 2024-01-10 10:17:31 -08:00
PLUGINS.md
README.md
rocksdb.pc.in
src.mk Add deletion-triggered compaction to RocksJava (#12028) 2023-12-18 13:43:01 -08:00
TARGETS
thirdparty.inc
USERS.md
Vagrantfile
WINDOWS_PORT.md

RocksDB: A Persistent Key-Value Store for Flash and RAM Storage

CircleCI Status

RocksDB is developed and maintained by Facebook Database Engineering Team. It is built on earlier work on LevelDB by Sanjay Ghemawat (sanjay@google.com) and Jeff Dean (jeff@google.com)

This code is a library that forms the core building block for a fast key-value server, especially suited for storing data on flash drives. It has a Log-Structured-Merge-Database (LSM) design with flexible tradeoffs between Write-Amplification-Factor (WAF), Read-Amplification-Factor (RAF) and Space-Amplification-Factor (SAF). It has multi-threaded compactions, making it especially suitable for storing multiple terabytes of data in a single database.

Start with example usage here: https://github.com/facebook/rocksdb/tree/main/examples

See the github wiki for more explanation.

The public interface is in include/. Callers should not include or rely on the details of any other header files in this package. Those internal APIs may be changed without warning.

Questions and discussions are welcome on the RocksDB Developers Public Facebook group and email list on Google Groups.

License

RocksDB is dual-licensed under both the GPLv2 (found in the COPYING file in the root directory) and Apache 2.0 License (found in the LICENSE.Apache file in the root directory). You may select, at your option, one of the above-listed licenses.