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.
 
 
 
 
 
 
Chen Shen 78cb6b6112 Provide byte[] version of SstFileWriter.merge to reduce GC Stall 7 years ago
buckifier rocksdb: make buildable on aarch64 7 years ago
build_tools Update RocksDBCommonHelper to use escapeshellarg 7 years ago
cache Circumvent ASAN false positive 7 years ago
cmake/modules cmake: support more compression type 7 years ago
coverage Fix /bin/bash shebangs 7 years ago
db add counter for deletion dropping optimization 7 years ago
docs 5.6.1 release blog post 7 years ago
env Introduce bottom-pri thread pool for large universal compactions 7 years ago
examples Replace dynamic_cast<> 7 years ago
hdfs Revert "comment out unused parameters" 7 years ago
include/rocksdb add counter for deletion dropping optimization 7 years ago
java Provide byte[] version of SstFileWriter.merge to reduce GC Stall 7 years ago
memtable Introduce bottom-pri thread pool for large universal compactions 7 years ago
monitoring Scale histogram bucket size by constant factor 7 years ago
options fix some misspellings 7 years ago
port fix WinEnv assertions 7 years ago
table Preload l0 index partitions 7 years ago
third-party Revert "comment out unused parameters" 7 years ago
tools fix db_stress uint64_t to int32 cast 7 years ago
util Support prefetch last 512KB with direct I/O in block based file reader 7 years ago
utilities Blob db create a snapshot before every read 7 years ago
.clang-format A script that automatically reformat affected lines 11 years ago
.gitignore Simple blob file dumper 8 years ago
.travis.yml Build fewer tests in Travis platform_dependent tests 7 years ago
AUTHORS Add AUTHORS file. Fix #203 10 years ago
CMakeLists.txt CMake improvements 7 years ago
CONTRIBUTING.md Remove the licensing description in CONTRIBUTING.md 7 years ago
COPYING Add GPLv2 as an alternative license. 8 years ago
DEFAULT_OPTIONS_HISTORY.md options.delayed_write_rate use the rate of rate_limiter by default. 8 years ago
DUMP_FORMAT.md First version of rocksdb_dump and rocksdb_undump. 10 years ago
HISTORY.md Scale histogram bucket size by constant factor 7 years ago
INSTALL.md add vcpkg as an windows option 7 years ago
LANGUAGE-BINDINGS.md Adding Dlang to the list 8 years ago
LICENSE.Apache Change RocksDB License 7 years ago
LICENSE.leveldb Add back the LevelDB license file 7 years ago
Makefile Overload new[] to properly align LRUCacheShard 7 years ago
README.md Appveyor badge to show master branch 8 years ago
ROCKSDB_LITE.md Optimistic Transactions 10 years ago
TARGETS rocksdb: make buildable on aarch64 7 years ago
USERS.md Update USERS.md 7 years ago
Vagrantfile Update Vagrant file (test internal phabricator workflow) 8 years ago
WINDOWS_PORT.md Commit both PR and internal code review changes 9 years ago
appveyor.yml Rework test running script. 8 years ago
src.mk Refactor PessimisticTransaction 7 years ago
thirdparty.inc Introduce XPRESS compresssion on Windows. (#1081) 9 years ago

README.md

RocksDB: A Persistent Key-Value Store for Flash and RAM Storage

Build Status 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/