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.
 
 
 
 
 
 
Nathan Bronson 505accda38 remove constexpr from util/random.h for MSVC compat 9 years ago
arcanist_util Don't spew warnings when flint doesn't exist 9 years ago
build_tools Revert "Fix TSAN build for fbcode" 9 years ago
coverage Fix coverage script 10 years ago
db Switch to thread-local random for skiplist 9 years ago
doc Remove seek compaction 11 years ago
examples [RocksDB Options File] Add TableOptions section and support BlockBasedTable 9 years ago
hdfs [Cleanup] Remove RandomRWFile 9 years ago
include/rocksdb Correct the comment of GetApproximateMemoryUsageByType 9 years ago
java options: add recycle_log_file_num option 9 years ago
memtable Enable C4305 'identifier' : truncation from 'type1' to 'type2' 9 years ago
port "make format" in some recent commits 9 years ago
table Revert "Adding new table properties" 9 years ago
third-party "make format" against last 10 commits 9 years ago
tools Fix compilation problem on Windows. 9 years ago
util remove constexpr from util/random.h for MSVC compat 9 years ago
utilities Delete test iterators 9 years ago
.arcconfig Integrate Jenkins with Phabricator 10 years ago
.clang-format A script that automatically reformat affected lines 11 years ago
.gitignore New amalgamation target 9 years ago
.travis.yml Run ROCKSDB_LITE tests in travis 9 years ago
AUTHORS Add AUTHORS file. Fix #203 10 years ago
CMakeLists.txt Switch to thread-local random for skiplist 9 years ago
CONTRIBUTING.md facebook accounts are not required for CLA signers 10 years ago
DUMP_FORMAT.md First version of rocksdb_dump and rocksdb_undump. 10 years ago
HISTORY.md Update HISTORY.md 9 years ago
INSTALL.md Update 4 is required for building with MS Visual Studio 13 9 years ago
LICENSE Fix copyright year 11 years ago
Makefile Revert "Fix TSAN build for fbcode" 9 years ago
PATENTS Update Patent Grant. 10 years ago
README.md Replaced "built on on earlier work" by "built on earlier work" in README.md 10 years ago
ROCKSDB_LITE.md Optimistic Transactions 10 years ago
USERS.md Add Cloudera's blog post to USERS.md 9 years ago
Vagrantfile RocksDB on FreeBSD support 10 years ago
WINDOWS_PORT.md Commit both PR and internal code review changes 9 years ago
appveyor.yml Do not build test only code and unit tests in Release builds 9 years ago
appveyordailytests.yml Do not build test only code and unit tests in Release builds 9 years ago
src.mk Switch to thread-local random for skiplist 9 years ago
thirdparty.inc Improve CI build and fix Windows build breakage 9 years ago

README.md

RocksDB: A Persistent Key-Value Store for Flash and RAM Storage

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/