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.
 
 
 
 
 
 
Mike Kolupaev fe09a6dae3 [wal changes 2/3] write with sync=true syncs previous unsynced wals to prevent illegal data loss 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 [wal changes 2/3] write with sync=true syncs previous unsynced wals to prevent illegal data loss 9 years ago
doc Remove seek compaction 10 years ago
examples [API Change] Improve EventListener::OnFlushCompleted interface 9 years ago
hdfs Improved FileExists API 9 years ago
include Report live data size estimate 9 years ago
java Don't let flushes preempt compactions 9 years ago
port Fix windows build after refactoring 9 years ago
table Improved FileExists API 9 years ago
third-party "make format" against last 10 commits 9 years ago
tools Add missing tests, fix db_sanity 9 years ago
util Tests to avoid to use TMPDIR directly 9 years ago
utilities Tests to avoid to use TMPDIR directly 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 9 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 10 years ago
DUMP_FORMAT.md First version of rocksdb_dump and rocksdb_undump. 9 years ago
HISTORY.md Improved FileExists API 9 years ago
INSTALL.md Commit both PR and internal code review changes 9 years ago
LICENSE Fix copyright year 11 years ago
Makefile RangeSync not to sync last 1MB of the file 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 9 years ago
USERS.md Add Yahoo's blog post about Sherpa to USERS.md 9 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/