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.
 
 
 
 
 
 
Sagar Vemuri 06b37eef7b Set defaults for high-pri and low-pri thread pools in regression test script 7 years ago
buckifier rocksdb: make buildable on aarch64 7 years ago
build_tools Update RocksDBCommonHelper to use escapeshellarg 7 years ago
cache Not using aligned_alloc with gcc4 + asan 7 years ago
cmake CMake: Add support for CMake packages 7 years ago
coverage Fix /bin/bash shebangs 7 years ago
db Dump non-final ZSTD compression type support 7 years ago
docs Minor updates to FlushWAL blog 7 years ago
env Introduce bottom-pri thread pool for large universal compactions 7 years ago
examples Pinnableslice examples and blog post 7 years ago
hdfs Revert "comment out unused parameters" 8 years ago
include/rocksdb Extend property map with compaction stats 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 Not using aligned_alloc with gcc4 + asan 7 years ago
table support disabling checksum in block-based table 7 years ago
third-party Revert "comment out unused parameters" 8 years ago
tools Set defaults for high-pri and low-pri thread pools in regression test script 7 years ago
util Support prefetch last 512KB with direct I/O in block based file reader 7 years ago
utilities WriteAtPrepare: Efficient read from snapshot list 7 years ago
.clang-format A script that automatically reformat affected lines 11 years ago
.gitignore Remove leftover references to phutil_module_cache 7 years ago
.travis.yml Build fewer tests in Travis platform_dependent tests 8 years ago
AUTHORS Add AUTHORS file. Fix #203 10 years ago
CMakeLists.txt CMake: Fix formatting 7 years ago
CONTRIBUTING.md Remove the licensing description in CONTRIBUTING.md 8 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 Bumping version to 5.8 7 years ago
INSTALL.md add vcpkg as an windows option 8 years ago
LANGUAGE-BINDINGS.md add Erlang to the list of language bindings 7 years ago
LICENSE.Apache Change RocksDB License 8 years ago
LICENSE.leveldb Add back the LevelDB license file 8 years ago
Makefile Overload new[] to properly align LRUCacheShard 7 years ago
README.md Appveyor badge to show master branch 9 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 10 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/