A library that provides an embeddable, persistent key-value store for fast storage.
  • C++ 82.7%
  • Java 9.1%
  • Starlark 2.3%
  • C 1.6%
  • Python 1.5%
  • Other 2.7%
Find a file
2026-03-09 12:46:15 -04:00
.github GitHub Actions nightly crash test runs on ARM (#14172) 2025-12-04 20:39:10 -08:00
buckifier Update format-diff script to add text to new files (#14143) 2025-11-21 11:32:10 -08:00
build_tools Update format-diff script to add text to new files (#14143) 2025-11-21 11:32:10 -08:00
cache Continue migration of HCC impl to BitFields (#14027) 2025-12-01 13:21:34 -08:00
cmake fix findliburing 2025-08-27 15:21:29 +01:00
coverage internal_repo_rocksdb 2024-10-14 03:01:20 -07:00
db Fix resumable compaction to prevent resumption at truncated range deletion boundaries (#14184) 2025-12-11 16:50:42 -08:00
db_stress_tool Use AutoHCC by default in tools (#14120) 2025-11-12 21:40:15 -08:00
docs Blog post for parallel compression revamp (#14035) 2025-10-09 16:55:27 -07:00
env IO uring improvements (#14158) 2025-12-12 14:25:40 -08:00
examples Require C++20 (#13904) 2025-08-28 16:59:16 -07:00
file Support Super Block Alignment (#13909) 2025-10-01 18:20:35 -07:00
fuzz Preliminary support for custom compression algorithms (#13659) 2025-06-16 14:19:03 -07:00
include/rocksdb Fixes the Windows VS 2022 build (#14280) 2026-02-02 09:52:22 -08:00
java Java's Get() to directly return for NotFound (#14095) 2025-11-11 15:58:00 -08:00
logging Standardize on clang-format version 18 (#13233) 2024-12-19 10:58:40 -08:00
memory Refactor, improve CompressedSecondaryCache (#13797) 2025-07-25 13:39:25 -07:00
memtable Add option to validate key during seek in SkipList Memtable (#13902) 2025-09-18 16:15:50 -07:00
microbench internal_repo_rocksdb (-8794174668376270091) (#12114) 2023-12-01 11:10:30 -08:00
monitoring Introducing Prepare all iterators for LevelIterator (#14100) 2025-11-18 15:57:03 -08:00
options Fix overflow in MultiplyCheckOverflow() due to std::numeric_limits<uint64_t>::max()'s promotion to double (#14132) 2025-11-19 16:25:53 -08:00
plugin Add initial CMake support to plugin (#9214) 2021-11-30 17:16:53 -08:00
port Fix compilation error using CLANG (#13864) 2025-08-11 15:15:26 -07:00
table Surface MultiScan async read failure instead of asserting (#14171) 2025-12-05 10:45:26 -08:00
test_util Continue migration of HCC impl to BitFields (#14027) 2025-12-01 13:21:34 -08:00
third-party Fix tests broken by gtest upgrade (#13661) 2025-06-04 10:44:17 -07:00
tools Merge remote-tracking branch 'ellis/10.5.fb' into 10.10.fb 2026-03-09 12:46:15 -04:00
trace_replay propagate request_id from app -> Rocks -> FS (#13616) 2025-05-16 21:25:50 -07:00
unreleased_history 10.10.fb 2025-12-18 13:58:50 -08:00
util Merge remote-tracking branch 'ellis/10.5.fb' into 10.10.fb 2026-03-09 12:46:15 -04:00
utilities Fix missing const for arg of OptionChangeMigration (#14173) 2025-12-04 17:04:43 -08:00
.clang-format A script that automatically reformat affected lines 2014-01-14 12:21:24 -08:00
.gitignore Add Meta internal config file to gitignore (#13307) 2025-01-16 14:59:42 -08:00
.lgtm.yml Create lgtm.yml for LGTM.com C/C++ analysis (#4058) 2018-06-26 12:43:04 -07:00
.watchmanconfig Added .watchmanconfig file to rocksdb repo (#5593) 2019-07-19 15:00:33 -07:00
AUTHORS Update RocksDB Authors File 2017-10-18 14:42:10 -07:00
BUCK Add oncall to BUCK file (#14134) 2025-11-19 14:04:58 -08:00
ccache_msvc_compiler.bat Use ccache to accelerate windows build (#14064) 2025-10-20 10:37:08 -07:00
CMakeLists.txt Fixes the Windows VS 2022 build (#14280) 2026-02-02 09:52:22 -08:00
CODE_OF_CONDUCT.md Adopt Contributor Covenant 2019-08-29 23:21:01 -07:00
common.mk Clean up variables for temporary directory (#9961) 2022-05-06 16:38:06 -07:00
CONTRIBUTING.md Add Code of Conduct 2017-12-05 18:42:35 -08:00
COPYING Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
crash_test.mk More separation of txn_write_policy for crash tests (#13499) 2025-04-01 14:17:37 -07:00
DEFAULT_OPTIONS_HISTORY.md Add Options::DisableExtraChecks, clarify force_consistency_checks (#9363) 2022-01-18 17:31:03 -08:00
Directory.Build.props Use ccache to accelerate windows build (#14064) 2025-10-20 10:37:08 -07:00
DUMP_FORMAT.md First version of rocksdb_dump and rocksdb_undump. 2015-06-19 16:24:36 -07:00
folly.mk More folly build updates (#14099) 2025-11-05 11:39:21 -08:00
HISTORY.md Fixes the Windows VS 2022 build (#14280) 2026-02-02 09:52:22 -08:00
INSTALL.md Require C++20 (#13904) 2025-08-28 16:59:16 -07:00
issue_template.md Add Google Group to Issue Template 2020-01-28 14:40:37 -08:00
LANGUAGE-BINDINGS.md Add python binding to LANGUAGE-BINDINGS.md (#13391) 2025-02-10 17:38:40 -08:00
LICENSE.Apache Change RocksDB License 2017-07-15 16:11:23 -07:00
LICENSE.leveldb Add back the LevelDB license file 2017-07-16 18:42:18 -07:00
Makefile Support ccache in make file (#14123) 2025-11-24 10:48:09 -08:00
PLUGINS.md Add encfs plugin link (#12070) 2023-11-14 07:33:21 -08:00
README.md Remove deprecated integration tests from README.md (#11354) 2023-04-07 16:52:50 -07:00
rocksdb.pc.in build: fix pkg-config file generation (#9953) 2022-05-30 12:46:40 -07:00
src.mk Auto-tune manifest file size (#14076) 2025-11-07 09:04:52 -08:00
thirdparty.inc Fix build jemalloc api (#5470) 2019-06-24 17:40:32 -07:00
USERS.md Add Venice as a RocksDB user (#13179) 2024-12-05 12:09:44 -08:00
Vagrantfile Adding CentOS 7 Vagrantfile & build script 2018-02-26 15:27:17 -08:00
WINDOWS_PORT.md Update branch name in WINDOWS_PORT.md (#8745) 2021-09-01 19:26:39 -07:00

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.