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.
 
 
 
 
 
 
赵星宇 d03c34497c update comment of GetNextFile 7 years ago
arcanist_util Fix arc setting for Facebook internal tools 8 years ago
buckifier update buckifer/TARGETS 7 years ago
build_tools update buckifer/TARGETS 7 years ago
cache Add GPLv2 as an alternative license. 7 years ago
cmake/modules CMake: more MinGW fixes 7 years ago
coverage Fix coverage script 10 years ago
db update comment of GetNextFile 7 years ago
docs Core-local stats blog post 7 years ago
env New API for background work in single thread pool 7 years ago
examples CMake: more MinGW fixes 7 years ago
hdfs New API for background work in single thread pool 7 years ago
include/rocksdb support merge and delete in file ingestion 7 years ago
java support merge and delete in file ingestion 7 years ago
memtable Add GPLv2 as an alternative license. 7 years ago
monitoring Core-local statistics 7 years ago
options Reorder variables of ReadOptions 7 years ago
port New API for background work in single thread pool 7 years ago
table support merge and delete in file ingestion 7 years ago
third-party fixed typo 7 years ago
tools Fix db_bench build break with blob db 7 years ago
util options.delayed_write_rate use the rate of rate_limiter by default. 7 years ago
utilities Fix build errors in blob_dump_tool with GCC 4.8 7 years ago
.clang-format A script that automatically reformat affected lines 11 years ago
.deprecated_arcconfig Update ShipIt to honor TARGETS updates 7 years ago
.gitignore Simple blob file dumper 7 years ago
.travis.yml travis: clang-3.6 -> clang-4.0 7 years ago
AUTHORS Add AUTHORS file. Fix #203 10 years ago
CMakeLists.txt define NDEBUG in CMake non-debug builds 7 years ago
CONTRIBUTING.md facebook accounts are not required for CLA signers 10 years ago
COPYING Add GPLv2 as an alternative license. 7 years ago
DEFAULT_OPTIONS_HISTORY.md options.delayed_write_rate use the rate of rate_limiter by default. 7 years ago
DUMP_FORMAT.md First version of rocksdb_dump and rocksdb_undump. 9 years ago
HISTORY.md Introduce max_background_jobs mutable option 7 years ago
INSTALL.md cross-platform compatibility improvements 7 years ago
LANGUAGE-BINDINGS.md Adding Dlang to the list 7 years ago
LICENSE Updated all copyright headers to the new format. 9 years ago
Makefile Clean zstd files 7 years ago
PATENTS Update Patent Grant. 9 years ago
README.md Appveyor badge to show master branch 8 years ago
ROCKSDB_LITE.md Optimistic Transactions 9 years ago
TARGETS codemod: replace `headers = AutoHeaders.*` with `auto_headers` 7 years ago
USERS.md Update USERS.md add user Pika 8 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. 7 years ago
src.mk Simple blob file dumper 7 years ago
thirdparty.inc Introduce XPRESS compresssion on Windows. (#1081) 8 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/