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.
 
 
 
 
 
 
Yanqin Jin 2d8518f5ea Reset pinnable slice before using it in Get() (#8154) 4 years ago
.circleci Make tests "parallel" and "passing ASC" by default (#8146) 4 years ago
.github/workflows Update clang-format-diff.py path (#7944) 4 years ago
buckifier Make tests "parallel" and "passing ASC" by default (#8146) 4 years ago
build_tools Pass PLATFORM_FLAGS in build_detect_platform (#8111) 4 years ago
cache Fix some typos in comments (#8066) 4 years ago
cmake Add `find_dependency()` in cmake config file. (#6791) 5 years ago
coverage Find the correct gcov (#6904) 5 years ago
db Use separate db dir for different tests hoping to remove flakiness (#8147) 4 years ago
db_stress_tool Add user-defined timestamps to db_stress (#8061) 4 years ago
docs Vulnerability issue in kramdown dependency (#8131) 4 years ago
env Add request_id in IODebugContext. (#8045) 4 years ago
examples make:Fix c header prototypes (#7994) 4 years ago
file Replace Status with IOStatus for block fetcher IO function (#8130) 4 years ago
fuzz Remove Legacy and Custom FileWrapper classes from header files (#7851) 4 years ago
hdfs fix build with 'USE_HDFS' on windows (#6950) 5 years ago
include/rocksdb Add request_id in IODebugContext. (#8045) 4 years ago
java Add sample_for_compression results to table properties (#8139) 4 years ago
logging Use SystemClock* instead of std::shared_ptr<SystemClock> in lower level routines (#8033) 4 years ago
memory Use thread-safe `strerror_r()` to get error message (#8087) 4 years ago
memtable Use SystemClock* instead of std::shared_ptr<SystemClock> in lower level routines (#8033) 4 years ago
monitoring Support cpu_write_nanos and cpu_read_nanos in IOStatsContext (#8149) 4 years ago
options Use SystemClock* instead of std::shared_ptr<SystemClock> in lower level routines (#8033) 4 years ago
plugin Makefile support to statically link external plugin code (#7918) 4 years ago
port stack trace freebsd update. using native api to get the process (#8144) 4 years ago
table Replace Status with IOStatus for block fetcher IO function (#8130) 4 years ago
test_util Unittest uses unique test db name (#8124) 4 years ago
third-party Fix a compilation error in CircleCI vs2019 CXX20 (#8090) 4 years ago
tools Reset pinnable slice before using it in Get() (#8154) 4 years ago
trace_replay Add request_id in IODebugContext. (#8045) 4 years ago
util Introduce a ThreadGuard class and use it in ExternalSSTFileTest.PickedLevelBug (#8112) 4 years ago
utilities Likely fix flaky TableFileCorruptedBeforeBackup (#8151) 4 years ago
.clang-format A script that automatically reformat affected lines 11 years ago
.gitignore gitignore cmake-build-* for CLion integration (#7933) 4 years ago
.lgtm.yml Create lgtm.yml for LGTM.com C/C++ analysis (#4058) 6 years ago
.travis.yml use `LIB_MODE=shared` on Travis `make` commands (#8043) 4 years ago
.watchmanconfig Added .watchmanconfig file to rocksdb repo (#5593) 5 years ago
AUTHORS Update RocksDB Authors File 7 years ago
CMakeLists.txt Move compacted_db_impl.[c|h] to db/db_impl (#8082) 4 years ago
CODE_OF_CONDUCT.md Adopt Contributor Covenant 5 years ago
CONTRIBUTING.md Add Code of Conduct 7 years ago
COPYING Add GPLv2 as an alternative license. 8 years ago
DEFAULT_OPTIONS_HISTORY.md options.delayed_write_rate use the rate of rate_limiter by default. 8 years ago
DUMP_FORMAT.md First version of rocksdb_dump and rocksdb_undump. 10 years ago
HISTORY.md Add request_id in IODebugContext. (#8045) 4 years ago
INSTALL.md Update the version of the dependencies used by the RocksJava static build (#4761) 6 years ago
LANGUAGE-BINDINGS.md Add RestoreDBFromLatestBackup to C API, add new C# package (#7092) 4 years ago
LICENSE.Apache Change RocksDB License 7 years ago
LICENSE.leveldb Add back the LevelDB license file 7 years ago
Makefile Update ZStd. Fixes an issue with Make 3.82 (#8155) 4 years ago
PLUGINS.md Makefile support to statically link external plugin code (#7918) 4 years ago
README.md Fix the CI badge for ppc64le Jenkins (#7561) 4 years ago
ROCKSDB_LITE.md Fix some typos in comments and docs. 7 years ago
TARGETS Make tests "parallel" and "passing ASC" by default (#8146) 4 years ago
USERS.md Add Apache Doris to USERS (#7865) 4 years ago
Vagrantfile Adding CentOS 7 Vagrantfile & build script 7 years ago
WINDOWS_PORT.md #5145 , rename port/dirent.h to port/port_dirent.h to avoid compile err when use port dir as header dir output (#5152) 6 years ago
appveyor.yml Remove 2019 from appveyor (#7038) 4 years ago
defs.bzl Make testpilot recognize that these tests have coverage instrumentation 5 years ago
issue_template.md Add Google Group to Issue Template 5 years ago
src.mk Make tests "parallel" and "passing ASC" by default (#8146) 4 years ago
thirdparty.inc Fix build jemalloc api (#5470) 5 years ago

README.md

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

CircleCI Status TravisCI 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 (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/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/ and https://rocksdb.slack.com/

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.