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.
 
 
 
 
 
 
Andrew Kryczka 9f7ccc8445 fix db_bench filluniquerandom key count assertion 7 years ago
buckifier Remove `import` use from TARGETS 7 years ago
build_tools FreeBSD build support for RocksDB and RocksJava 7 years ago
cache fix gflags namespace 7 years ago
cmake add missing config checks to CMakeLists.txt 7 years ago
coverage Fix /bin/bash shebangs 7 years ago
db Incorrect Universal Compaction reason 7 years ago
docs fix Gemfile.lock nokogiri dependencies 7 years ago
env Add a Close() method to DB to return status when closing a db 7 years ago
examples Pinnableslice examples and blog post 7 years ago
hdfs Revert "comment out unused parameters" 7 years ago
include/rocksdb Rewrite comments on use_fsync option 7 years ago
java FreeBSD build support for RocksDB and RocksJava 7 years ago
memtable fix gflags namespace 7 years ago
monitoring fix ThreadStatus for bottom-pri compaction threads 7 years ago
options DB::DumpSupportInfo should log all supported compression types 7 years ago
port FreeBSD build support for RocksDB and RocksJava 7 years ago
table Split HarnessTest_Randomized to avoid timeout 7 years ago
third-party Enable MSVC W4 with a few exceptions. Fix warnings and bugs 7 years ago
tools fix db_bench filluniquerandom key count assertion 7 years ago
util Rounddown in FilePrefetchBuffer::Prefetch 7 years ago
utilities Blob DB: dump blob_db_options.min_blob_size 7 years ago
.clang-format A script that automatically reformat affected lines 11 years ago
.gitignore Remove leftover references to phutil_module_cache 7 years ago
.travis.yml CMake cross platform Java support and add JNI to travis 7 years ago
AUTHORS Update RocksDB Authors File 7 years ago
CMakeLists.txt CMake changes for CRC32 Optimization on PowerPC 7 years ago
CODE_OF_CONDUCT.md Add Code of Conduct 7 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 Improve performance of long range scans with readahead 7 years ago
INSTALL.md FreeBSD build support for RocksDB and RocksJava 7 years ago
LANGUAGE-BINDINGS.md Add Nim to the list of language bindings 7 years ago
LICENSE.Apache Change RocksDB License 7 years ago
LICENSE.leveldb Add back the LevelDB license file 7 years ago
Makefile Revert Snappy version upgrade 7 years ago
README.md Add Jenkins for PPC64le build status badge 7 years ago
ROCKSDB_LITE.md Optimistic Transactions 10 years ago
TARGETS WritePrepared Txn: make buck tests parallel 7 years ago
USERS.md Added ProfaneDB 7 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 Make Windows dep switches compatible with other builds 7 years ago
issue_template.md Add a template for issues 7 years ago
src.mk Refactor ReadBlockContents() 7 years ago
thirdparty.inc Make Windows dep switches compatible with other builds 7 years ago

README.md

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

Linux/Mac Build Status Windows 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 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/