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.
 
 
 
 
 
 
agiardullo 8161bdb5a0 WriteBatch Save Points 9 years ago
arcanist_util Integrate Jenkins with Phabricator 10 years ago
build_tools Commit both PR and internal code review changes 9 years ago
coverage Fix coverage script 10 years ago
db WriteBatch Save Points 9 years ago
doc Remove seek compaction 11 years ago
examples [API Change] Improve EventListener::OnFlushCompleted interface 10 years ago
hdfs Improved FileExists API 9 years ago
include/rocksdb WriteBatch Save Points 9 years ago
java Add missing hashCode() implementation 9 years ago
port Fix WinEnv::NowMicrosec 9 years ago
table Improved FileExists API 9 years ago
third-party "make format" against last 10 commits 9 years ago
tools tools/db_crashtest2.py should run on the same DB 9 years ago
util Count number of corrupt keys during compaction 9 years ago
utilities WriteBatch Save Points 9 years ago
.arcconfig Integrate Jenkins with Phabricator 10 years ago
.clang-format A script that automatically reformat affected lines 11 years ago
.gitignore Windows Port from Microsoft 10 years ago
.travis.yml Don't preinstall jemalloc in Travis 10 years ago
AUTHORS Add AUTHORS file. Fix #203 10 years ago
CMakeLists.txt Add missing tests, fix db_sanity 9 years ago
CONTRIBUTING.md facebook accounts are not required for CLA signers 11 years ago
DUMP_FORMAT.md First version of rocksdb_dump and rocksdb_undump. 10 years ago
HISTORY.md WriteBatch Save Points 9 years ago
INSTALL.md Commit both PR and internal code review changes 9 years ago
LICENSE Fix copyright year 11 years ago
Makefile Add missing hashCode() implementation 9 years ago
PATENTS Update Patent Grant. 10 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 10 years ago
USERS.md Add Yahoo's blog post about Sherpa to USERS.md 10 years ago
Vagrantfile RocksDB on FreeBSD support 10 years ago
WINDOWS_PORT.md Commit both PR and internal code review changes 9 years ago
src.mk Move general compaction tests from db_test.cc to db_compaction_test.cc 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/