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.
 
 
 
 
 
 
sdong 68f3eb746c Run release build for CLANG and GCC 4.8.1 in pre-commit tests too 8 years ago
arcanist_util Run release build for CLANG and GCC 4.8.1 in pre-commit tests too 8 years ago
build_tools Run release build for CLANG and GCC 4.8.1 in pre-commit tests too 8 years ago
coverage Fix coverage script 10 years ago
db Only cache level 0 indexes and filter when opening table reader 8 years ago
doc Lint everything 9 years ago
examples Introduce FullMergeV2 (eliminate memcpy from merge operators) 8 years ago
hdfs using java7 in runtime for hdfs env (#1072) 9 years ago
include/rocksdb Only cache level 0 indexes and filter when opening table reader 8 years ago
java fixes #1210: rocksdb/java/CMakeLists.txt lacks cmake_minimum_required (#1214) 8 years ago
memtable Updated all copyright headers to the new format. 9 years ago
port stack_trace,cc: The current Stacktrace code does not compile for FreeBSD (#1153) 9 years ago
table Only cache level 0 indexes and filter when opening table reader 8 years ago
third-party Fix clang analyzer errors 8 years ago
tools Introduce FullMergeV2 (eliminate memcpy from merge operators) 8 years ago
util Introduce FullMergeV2 (eliminate memcpy from merge operators) 8 years ago
utilities Only cache level 0 indexes and filter when opening table reader 8 years ago
.arcconfig Integrate Jenkins with Phabricator 10 years ago
.clang-format A script that automatically reformat affected lines 11 years ago
.gitignore New Statistics to track Compression/Decompression (#1197) 8 years ago
.travis.yml Re-enable linux on travis 9 years ago
AUTHORS Add AUTHORS file. Fix #203 10 years ago
CMakeLists.txt Refactor cache.cc 8 years ago
CONTRIBUTING.md facebook accounts are not required for CLA signers 11 years ago
DEFAULT_OPTIONS_HISTORY.md Release RocksDB 4.8.0 9 years ago
DUMP_FORMAT.md First version of rocksdb_dump and rocksdb_undump. 10 years ago
HISTORY.md Add options.write_buffer_manager: control total memtable size across DB instances 8 years ago
INSTALL.md Simple changes to support builds for ppc64[le] consistent with X86 9 years ago
LANGUAGE-BINDINGS.md Update LANGUAGE-BINDINGS.md 8 years ago
LICENSE Updated all copyright headers to the new format. 9 years ago
Makefile Run release build for CLANG and GCC 4.8.1 in pre-commit tests too 8 years ago
PATENTS Update Patent Grant. 10 years ago
README.md Replaced "built on on earlier work" by "built on earlier work" in README.md 10 years ago
ROCKSDB_LITE.md Optimistic Transactions 10 years ago
USERS.md Update USER.md to include more services at Facebook. 8 years ago
Vagrantfile RocksDB on FreeBSD support 10 years ago
WINDOWS_PORT.md Commit both PR and internal code review changes 10 years ago
appveyor.yml Disable long running GroupCommitTest (#1125) 9 years ago
src.mk Persistent Read Cache (6) Persistent cache tier implentation - File layout 8 years ago
thirdparty.inc Introduce XPRESS compresssion on Windows. (#1081) 9 years ago

README.md

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

Build 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 specially suitable for storing multiple terabytes of data in a single database.

Start with example usage here: https://github.com/facebook/rocksdb/tree/master/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.

Design discussions are conducted in https://www.facebook.com/groups/rocksdb.dev/