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.
 
 
 
 
 
 
yiwu-arbug e367774d19 Overload new[] to properly align LRUCacheShard 7 years ago
buckifier rocksdb: make buildable on aarch64 7 years ago
build_tools compile with correct flags to determine SSE4.2 support 7 years ago
cache Overload new[] to properly align LRUCacheShard 7 years ago
cmake/modules cmake: support more compression type 7 years ago
coverage Fix /bin/bash shebangs 7 years ago
db fix deletion dropping in intra-L0 7 years ago
docs 5.6.1 release blog post 8 years ago
env Introduce bottom-pri thread pool for large universal compactions 7 years ago
examples Replace dynamic_cast<> 8 years ago
hdfs Revert "comment out unused parameters" 8 years ago
include/rocksdb expose set_skip_stats_update_on_db_open to C bindings 7 years ago
java Fix for CMakeLists.txt on Windows for RocksJava 7 years ago
memtable Introduce bottom-pri thread pool for large universal compactions 7 years ago
monitoring approximate histogram stats to save cpu 7 years ago
options Replace dynamic_cast<> 8 years ago
port fix WinEnv assertions 7 years ago
table Support prefetch last 512KB with direct I/O in block based file reader 7 years ago
third-party Revert "comment out unused parameters" 8 years ago
tools make sst_dump compression size command consistent 7 years ago
util Support prefetch last 512KB with direct I/O in block based file reader 7 years ago
utilities Fix blob DB transaction usage while GC 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 8 years ago
AUTHORS Add AUTHORS file. Fix #203 10 years ago
CMakeLists.txt properly set C[XX]FLAGS during CMake configure-time checks 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 fix deletion dropping in intra-L0 7 years ago
INSTALL.md add vcpkg as an windows option 8 years ago
LANGUAGE-BINDINGS.md Adding Dlang to the list 8 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/