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.
 
 
 
 
 
 
Igor Canadi bf03f59c11 Disable CompressLevelCompaction() if Zlib is not supported 10 years ago
arcanist_util Integrate Jenkins with Phabricator 10 years ago
build_tools Move dockerbuild.sh to build_tools/ 10 years ago
coverage Fix coverage script 10 years ago
db Disable CompressLevelCompaction() if Zlib is not supported 10 years ago
doc Remove seek compaction 11 years ago
examples [API Change] Improve EventListener::OnFlushCompleted interface 10 years ago
hdfs Add Env::GetThreadID(), which returns the ID of the current thread. 10 years ago
include Block utilities/write_batch_with_index in ROCKSDB_LITE 10 years ago
java Use CompactRangeOptions for CompactRange 10 years ago
port Build for CYGWIN 10 years ago
table Add TablePropertiesCollector::NeedCompact() to suggest DB to further compact output files 10 years ago
third-party Update COMMIT.md 10 years ago
tools [API Change] Improve EventListener::OnFlushCompleted interface 10 years ago
util Make autovector_test runnable in ROCKSDB_LITE 10 years ago
utilities Block geodb_test in ROCKSDB_LITE 10 years ago
.arcconfig Integrate Jenkins with Phabricator 10 years ago
.clang-format A script that automatically reformat affected lines 11 years ago
.gitignore run 'make check's rules (and even subtests) in parallel 10 years ago
.travis.yml Don't preinstall jemalloc in Travis 10 years ago
AUTHORS Add AUTHORS file. Fix #203 10 years ago
CONTRIBUTING.md facebook accounts are not required for CLA signers 10 years ago
HISTORY.md Fail DB::Open() when the requested compression is not available 10 years ago
INSTALL.md Updated OS X instructions, replace homebrew/dupes with homebrew/versions 10 years ago
LICENSE Fix copyright year 11 years ago
Makefile Remove unused target --- compactor_test 10 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
src.mk Allow EventListener::OnCompactionCompleted to return CompactionJobStats. 10 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/