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.
 
 
 
 
 
 
Siying Dong 6aa95f4d0f Fix a wrong log formatting 7 years ago
buckifier Remove `import` use from TARGETS 7 years ago
build_tools Port 3 way SSE4.2 crc32c implementation from Folly 7 years ago
cache fix gflags namespace 7 years ago
cmake add missing config checks to CMakeLists.txt 7 years ago
coverage Fix /bin/bash shebangs 7 years ago
db Fix a wrong log formatting 7 years ago
docs Blog post for WritePrepared Txn 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 add support for allow_ingest_behind in C API 7 years ago
java Add autotune and #getBytesPerSecond() to RocksJava RateLimiter 7 years ago
memtable fix gflags namespace 7 years ago
monitoring fix ThreadStatus for bottom-pri compaction threads 7 years ago
options Make Universal compaction options dynamic 7 years ago
port Speed up BlockTest.BlockReadAmpBitmap 7 years ago
table Speed up BlockTest.BlockReadAmpBitmap 7 years ago
third-party Enable MSVC W4 with a few exceptions. Fix warnings and bugs 7 years ago
tools Fix db_bench write being disabled in lite build 7 years ago
util FIXED: string buffers potentially too small to fit formatted write 7 years ago
utilities WritePrepared Txn: address some pending TODOs 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 CMake cross platform Java support and add JNI to travis 7 years ago
AUTHORS Update RocksDB Authors File 7 years ago
CMakeLists.txt Make Windows dep switches compatible with other builds 7 years ago
CODE_OF_CONDUCT.md Add Code of Conduct 7 years ago
CONTRIBUTING.md Add Code of Conduct 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 Port 3 way SSE4.2 crc32c implementation from Folly 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 Fix zstd/zdict include path for java static build 7 years ago
README.md Appveyor badge to show master branch 8 years ago
ROCKSDB_LITE.md Optimistic Transactions 10 years ago
TARGETS WritePrepared Txn: make buck tests parallel 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 Make Windows dep switches compatible with other builds 7 years ago
issue_template.md Add a template for issues 7 years ago
src.mk Refactor ReadBlockContents() 7 years ago
thirdparty.inc Make Windows dep switches compatible with other builds 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/