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.
 
 
 
 
 
 
Andrew Kryczka 1bdb44de95 optimize file ingestion checks for range deletion overlap 7 years ago
buckifier Fix TARGETS lint warnings. 7 years ago
build_tools prefer enabling cpu features via -march/-mcpu 7 years ago
cache Support for block_cache num_shards and other config via option string. 7 years ago
cmake CMake: Add support for CMake packages 7 years ago
coverage Fix /bin/bash shebangs 7 years ago
db optimize file ingestion checks for range deletion overlap 7 years ago
docs Blog post for 5.8 release 7 years ago
env Suppress valgrind "unimplemented functionality" error 7 years ago
examples Pinnableslice examples and blog post 7 years ago
hdfs Revert "comment out unused parameters" 7 years ago
include/rocksdb Fix minor typo in comment 7 years ago
java Add a ticker stat for number of keys skipped during iteration 7 years ago
memtable Enable MSVC W4 with a few exceptions. Fix warnings and bugs 7 years ago
monitoring Add a ticker stat for number of keys skipped during iteration 7 years ago
options Support for block_cache num_shards and other config via option string. 7 years ago
port Make writable_file_max_buffer_size dynamic 7 years ago
table Support for block_cache num_shards and other config via option string. 7 years ago
third-party Enable MSVC W4 with a few exceptions. Fix warnings and bugs 7 years ago
tools Blob DB: db_bench flag to control BlobDB's garbage collection 7 years ago
util Make trash-to-DB size ratio limit configurable 7 years ago
utilities WritePrepared Txn: Add MultiGet to DB 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 fix lite build 7 years ago
AUTHORS Update RocksDB Authors File 7 years ago
CMakeLists.txt Blob DB: not using PinnableSlice move assignment 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 Make trash-to-DB size ratio limit configurable 7 years ago
INSTALL.md Default one to rocksdb:x64-windows 7 years ago
LANGUAGE-BINDINGS.md Add Elixir to the list of language bindings 7 years ago
LICENSE.Apache Change RocksDB License 7 years ago
LICENSE.leveldb Add back the LevelDB license file 7 years ago
Makefile Suppress valgrind "unimplemented functionality" error 7 years ago
README.md Appveyor badge to show master branch 8 years ago
ROCKSDB_LITE.md Optimistic Transactions 10 years ago
TARGETS Fix TARGETS lint warnings. 7 years ago
USERS.md Added ProfaneDB 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 Add -DPORTABLE=1 to MSVC CI build 7 years ago
issue_template.md Add a template for issues 7 years ago
src.mk Fix TARGETS lint warnings. 7 years ago
thirdparty.inc Enable cacheline_aligned_alloc() to allocate from jemalloc if enabled. 7 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/