You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Changyu Bi f24ef5d6ab Fix BackupEngineTest.ExcludeFiles memory leak (#11066) 9 months ago
.circleci Upgrade CircleCI Windows Build (#10090) 11 months ago
.github/workflows ci: add GitHub token permissions for workflow (#10549) 1 year ago
buckifier Enable BLACK for internal_repo_rocksdb (#10710) 1 year ago
build_tools Print stack traces on frozen tests in CI (#10828) 12 months ago
cache Add a SecondaryCache::InsertSaved() API, use in CacheDumper impl (#10945) 10 months ago
cmake gcc-11 and cmake related cleanup (#9286) 2 years ago
coverage Enable BLACK for internal_repo_rocksdb (#10710) 1 year ago
db Fix typo in flushing stats CF (#11055) 9 months ago
db_stress_tool Prevent db_stress failure when io_uring is disabled (#11045) 9 months ago
docs Bump nokogiri from 1.13.9 to 1.13.10 in /docs (#11024) 10 months ago
env Added placeholders for MADV defines (#10881) 11 months ago
examples Add rocksdb_backup_restore_example to examples/.gitignore (#10825) 11 months ago
file Fix async prefetch heap use after free (#11049) 9 months ago
fuzz Add some missing headers (#10519) 1 year ago
include/rocksdb add c-api for setting option optimize_filters_for_memory (#11044) 9 months ago
java Add missing range conflict check between file ingestion and RefitLevel() (#10988) 9 months ago
logging Observe and warn about misconfigured HyperClockCache (#10965) 10 months ago
memory Fix use of make_unique in Arena::AllocateNewBlock (#11012) 10 months ago
memtable Run clang format against files under example/, memory/ and memtable/ folders (#10893) 11 months ago
microbench Avoid allocations/copies for large `GetMergeOperands()` results (#10458) 1 year ago
monitoring Add an unittest for Periodic compaction conflict with ongoing compaction (#10908) 10 months ago
options Ignore max_compaction_bytes for compaction input that are within output key-range (#10835) 11 months ago
plugin Add initial CMake support to plugin (#9214) 2 years ago
port Fix include of windows.h in mmap.h (#10885) 11 months ago
table Avoid mixing sync and async prefetch (#11050) 9 months ago
test_util ~SleepingBackgroundTask() to wake up the sleeping task (#11036) 10 months ago
third-party Meta-internal folly integration with F14FastMap (#9546) 1 year ago
tools Revert PR 10777 "Fix FIFO causing overlapping seqnos in L0 files due to overla…" (#10999) 10 months ago
trace_replay fix compile warnings (#10976) 10 months ago
util Improve error messages for SST footer and size errors (#11009) 10 months ago
utilities Fix BackupEngineTest.ExcludeFiles memory leak (#11066) 9 months ago
.clang-format A script that automatically reformat affected lines 10 years ago
.gitignore Git ignore .clangd/ (#10817) 12 months ago
.lgtm.yml Create lgtm.yml for C/C++ analysis (#4058) 5 years ago
.watchmanconfig Added .watchmanconfig file to rocksdb repo (#5593) 4 years ago
AUTHORS Update RocksDB Authors File 6 years ago
CMakeLists.txt Add ability to have unit tests for ROCKSDB_PLUGINS (#11052) 9 months ago Adopt Contributor Covenant 4 years ago Add Code of Conduct 6 years ago
COPYING Add GPLv2 as an alternative license. 7 years ago Add Options::DisableExtraChecks, clarify force_consistency_checks (#9363) 2 years ago First version of rocksdb_dump and rocksdb_undump. 8 years ago Add missing range conflict check between file ingestion and RefitLevel() (#10988) 9 months ago Update supported VS versions in (#9823) 1 year ago Add grocksdb in Go language bindings (#10498) 1 year ago
LICENSE.Apache Change RocksDB License 6 years ago
LICENSE.leveldb Add back the LevelDB license file 6 years ago
Makefile Add ability to have unit tests for ROCKSDB_PLUGINS (#11052) 9 months ago Add pmem-rocksdb-plugin link in (#9934) 1 year ago Remove Travis CI (#10407) 1 year ago Fix remaining uses of "backupable" (#9792) 2 years ago
TARGETS Consider range tombstone in compaction output file cutting (#10802) 10 months ago Add Apache Spark as a user (#10993) 10 months ago
Vagrantfile Adding CentOS 7 Vagrantfile & build script 6 years ago Update branch name in (#8745) 2 years ago Clean up variables for temporary directory (#9961) 1 year ago Allow a custom DB cleanup command to be passed to (#10883) 11 months ago Add Google Group to Issue Template 4 years ago build: fix pkg-config file generation (#9953) 1 year ago Consider range tombstone in compaction output file cutting (#10802) 10 months ago Fix build jemalloc api (#5470) 4 years ago

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

CircleCI Status Appveyor Build status PPC64le Build Status

RocksDB is developed and maintained by Facebook Database Engineering Team. It is built on earlier work on LevelDB by Sanjay Ghemawat ( and Jeff Dean (

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:

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.


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.