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.
 
 
 
 
 
 
Islam AbdelRahman e19163688b Add macros to include file name and line number during Logging 7 years ago
arcanist_util Fix arc setting for Facebook internal tools 8 years ago
build_tools Fix random access alignment 7 years ago
cmake/modules cmake support for linux and osx (#1358) 8 years ago
coverage Fix coverage script 10 years ago
db Add macros to include file name and line number during Logging 7 years ago
docs Add Bulkoading IngestExternalFile blog post 7 years ago
examples Remove skip_table_builder_flush and default it to true 7 years ago
hdfs Fix bug in UnScSigned-off-by: xh931076284 <931076284@qq.com> (#1336) 8 years ago
include/rocksdb Add Xpress and ZSTD CompressionType values to C header 7 years ago
java Expose DB::DeleteRange and WriteBath::DeleteRange in Java 7 years ago
memtable Unified InlineSkipList::Insert algorithm with hinting 8 years ago
port Fix random access alignment 7 years ago
table Add macros to include file name and line number during Logging 7 years ago
third-party Kill flashcache code in RocksDB 8 years ago
tools Pinnableslice (2nd attempt) 7 years ago
util Add macros to include file name and line number during Logging 7 years ago
utilities Add macros to include file name and line number during Logging 7 years ago
.arcconfig Make rocksdb work with internal repo 8 years ago
.clang-format A script that automatically reformat affected lines 11 years ago
.gitignore Less linear search in DBIter::Seek() when keys are overwritten a lot 8 years ago
.travis.yml Move db_test and external_sst_file_test out of Travis's MAC OS run 7 years ago
AUTHORS Add AUTHORS file. Fix #203 10 years ago
CMakeLists.txt Refactoring 7 years ago
CONTRIBUTING.md facebook accounts are not required for CLA signers 10 years ago
DEFAULT_OPTIONS_HISTORY.md Change the default of delayed slowdown value to 16MB/s 8 years ago
DUMP_FORMAT.md First version of rocksdb_dump and rocksdb_undump. 9 years ago
HISTORY.md update history.md for fixing the bug that skips keys 7 years ago
INSTALL.md Update static library versions and add checksums 7 years ago
LANGUAGE-BINDINGS.md Adding Dlang to the list 7 years ago
LICENSE Updated all copyright headers to the new format. 9 years ago
Makefile Move db_test and external_sst_file_test out of Travis's MAC OS run 7 years ago
PATENTS Update Patent Grant. 9 years ago
README.md Appveyor badge to show master branch 8 years ago
ROCKSDB_LITE.md Optimistic Transactions 9 years ago
USERS.md Update USERS.md add user Pika 8 years ago
Vagrantfile Update Vagrant file (test internal phabricator workflow) 8 years ago
WINDOWS_PORT.md Commit both PR and internal code review changes 9 years ago
appveyor.yml Separate small subset tests in DBTest 7 years ago
src.mk Refactoring 7 years ago
thirdparty.inc Introduce XPRESS compresssion on Windows. (#1081) 8 years ago

README.md

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

Build Status 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/