Find a file
Lei Jin 0fd985f427 Avoid reloading filter on Get() if cache_index_and_filter_blocks == false
Summary:
This fixes the case that filter policy is missing in SST file, but we
open the table with filter policy on and cache_index_and_filter_blocks =
false. The current behavior is that we will try to load it every time on
Get() but fail.

Test Plan: unit test

Reviewers: yhchiang, igor, rven, sdong

Reviewed By: sdong

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D25455
2014-10-22 11:52:35 -07:00
build_tools Cross-platform fix version.sh 2014-10-04 11:17:06 +02:00
coverage
db Fix DeleteFile() + enable deleting files oldest files in level 0 2014-10-21 11:23:06 -07:00
doc Remove seek compaction 2014-06-20 10:23:02 +02:00
examples Make it easier to start using RocksDB 2014-05-10 10:49:33 -07:00
hdfs hdfs cleanup and compile test against CDH 4.4. 2014-05-20 17:22:12 -04:00
helpers/memenv
include Sanitize block-based table index type and check prefix_extractor 2014-10-17 21:18:36 -07:00
java Fix code review comments raised in https://reviews.facebook.net/D22779 2014-10-21 15:52:28 +01:00
linters Removed code which prevents arc lint from working properly. 2014-10-07 17:40:19 +02:00
port Avoid off-by-one error when using readlink 2014-09-05 20:50:29 -07:00
table Avoid reloading filter on Get() if cache_index_and_filter_blocks == false 2014-10-22 11:52:35 -07:00
third-party/rapidjson Fix a rapidjson compile error in mac. 2014-06-23 17:09:24 -06:00
tools minor update to benchmark script 2014-10-10 09:55:40 -07:00
util Improve the comment of util/thread_local.h 2014-10-21 17:28:31 -07:00
utilities WriteBatchWithIndex's Iterator bug of SeekToFirst() and SeekToLast() 2014-10-15 07:33:32 -07:00
.arcconfig
.clang-format
.gitignore Ignore IntelliJ idea project files and ignore java/out folder 2014-10-21 15:52:27 +01:00
.travis.yml Only run make unity on travis instead of make check 2014-09-18 09:53:13 -07:00
AUTHORS Add AUTHORS file. Fix #203 2014-09-29 10:52:18 -07:00
CONTRIBUTING.md facebook accounts are not required for CLA signers 2014-07-08 05:57:54 -04:00
HISTORY.md WriteBatchWithIndex to support an option to overwrite rows when operating the same key 2014-10-10 15:19:21 -07:00
INSTALL.md Update INSTALL.md 2014-10-01 11:15:42 -07:00
LICENSE
Makefile merge master to resolve merge conflicts 2014-10-06 08:22:55 -07:00
PATENTS
README.md Replaced "built on on earlier work" by "built on earlier work" in README.md 2014-09-17 01:16:17 -07:00
ROCKSDB_LITE.md RocksDBLite 2014-04-15 13:39:26 -07:00
Vagrantfile Package generation for Ubuntu and CentOS 2014-09-29 16:09:46 -07:00

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/