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 2e73bd4ff2 crash_test to put DB under TEST_TMPDIR 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 Fix CompactFiles by adding all necessary files 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 Add CompactOnDeletionCollector in utilities/table_properties_collectors. 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 crash_test to put DB under TEST_TMPDIR 9 years ago
util Merge branch 'master' of github.com:facebook/rocksdb 9 years ago
utilities Fix compile warning in compact_on_deletion_collector in some environment 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 CompactOnDeletionCollector in utilities/table_properties_collectors. 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. 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 crash_test to cover simply cases 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 Add CompactOnDeletionCollector in utilities/table_properties_collectors. 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/