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 6e9fbeb27c Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 9 years ago
arcanist_util Integrate Jenkins with Phabricator 9 years ago
build_tools Commit both PR and internal code review changes 9 years ago
coverage Fix coverage script 10 years ago
db Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 9 years ago
doc Remove seek compaction 10 years ago
examples [API Change] Improve EventListener::OnFlushCompleted interface 9 years ago
hdfs Windows Port from Microsoft 9 years ago
include Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 9 years ago
java Don't let flushes preempt compactions 9 years ago
port Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 9 years ago
table Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 9 years ago
third-party "make format" against last 10 commits 9 years ago
tools Don't let flushes preempt compactions 9 years ago
util Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 9 years ago
utilities Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 9 years ago
.arcconfig Integrate Jenkins with Phabricator 9 years ago
.clang-format A script that automatically reformat affected lines 11 years ago
.gitignore Windows Port from Microsoft 9 years ago
.travis.yml Don't preinstall jemalloc in Travis 9 years ago
AUTHORS Add AUTHORS file. Fix #203 10 years ago
CMakeLists.txt Ensure Windows build w/o port/port.h in public headers 9 years ago
CONTRIBUTING.md facebook accounts are not required for CLA signers 10 years ago
DUMP_FORMAT.md First version of rocksdb_dump and rocksdb_undump. 9 years ago
HISTORY.md Deprecate CompactionFilterV2 9 years ago
INSTALL.md Commit both PR and internal code review changes 9 years ago
LICENSE Fix copyright year 10 years ago
Makefile Don't let flushes preempt compactions 9 years ago
PATENTS Update Patent Grant. 9 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 9 years ago
USERS.md Add Yahoo's blog post about Sherpa to USERS.md 9 years ago
Vagrantfile RocksDB on FreeBSD support 9 years ago
WINDOWS_PORT.md Commit both PR and internal code review changes 9 years ago
src.mk Move rate_limiter, write buffering, most perf context instrumentation and most random kill out of Env 9 years ago
thirdparty.inc Conditional use of third-party libraries 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/