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.
 
 
 
 
 
 
Sagar Vemuri 6799c7e00d Pass in remote as a param to branch creation script 8 years ago
arcanist_util Fix arc setting for Facebook internal tools 8 years ago
buckifier internal_repo_rocksdb to build Java and RocksDB LITE 8 years ago
build_tools Pass in remote as a param to branch creation script 8 years ago
cache Move some files under util/ to separate dirs 8 years ago
cmake/modules CMake: more MinGW fixes 8 years ago
coverage Fix coverage script 10 years ago
db change use_direct_writes to use_direct_io_for_flush_and_compaction 8 years ago
docs Blog post for releasing 5.2.1 8 years ago
env change use_direct_writes to use_direct_io_for_flush_and_compaction 8 years ago
examples CMake: more MinGW fixes 8 years ago
hdfs Fix bug in UnScSigned-off-by: xh931076284 <931076284@qq.com> (#1336) 8 years ago
include/rocksdb change use_direct_writes to use_direct_io_for_flush_and_compaction 8 years ago
java change use_direct_writes to use_direct_io_for_flush_and_compaction 8 years ago
memtable Move memtable related files into memtable directory 8 years ago
monitoring Move various string utility functions into string_util 8 years ago
options change use_direct_writes to use_direct_io_for_flush_and_compaction 8 years ago
port Move some files under util/ to separate dirs 8 years ago
table Move various string utility functions into string_util 8 years ago
third-party Fix build with MinGW 8 years ago
tools change use_direct_writes to use_direct_io_for_flush_and_compaction 8 years ago
util change use_direct_writes to use_direct_io_for_flush_and_compaction 8 years ago
utilities Fix shared lock upgrades 8 years ago
.clang-format A script that automatically reformat affected lines 11 years ago
.deprecated_arcconfig Update ShipIt to honor TARGETS updates 8 years ago
.gitignore Add buckifier script to github repo 8 years ago
.travis.yml Add Travis job to build examples 8 years ago
AUTHORS Add AUTHORS file. Fix #203 10 years ago
CMakeLists.txt FreeBSD only requires WITH_JEMALLOC, not the rest 8 years ago
CONTRIBUTING.md facebook accounts are not required for CLA signers 11 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. 10 years ago
HISTORY.md change use_direct_writes to use_direct_io_for_flush_and_compaction 8 years ago
INSTALL.md Add a notice on gflags installation in INSTALL.md 8 years ago
LANGUAGE-BINDINGS.md Adding Dlang to the list 8 years ago
LICENSE Updated all copyright headers to the new format. 9 years ago
Makefile Add ROCKSDB_JAVA_NO_COMPRESSION flag 8 years ago
PATENTS Update Patent Grant. 10 years ago
README.md Appveyor badge to show master branch 9 years ago
ROCKSDB_LITE.md Optimistic Transactions 10 years ago
TARGETS sync TARGETS file 8 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 10 years ago
appveyor.yml Rework test running script. 8 years ago
src.mk Refactor compaction picker code 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 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/