rocksdb/utilities/blob_db
Yi Wu 6d4ef9e839 Blob DB: avoid having a separate read of checksum
Summary:
Previously on a blob db read, we are making a read of the blob value, and then make another read to get CRC checksum. I'm combining the two read into one.

readrandom db_bench with 1G database with base db size of 13M, value size 1k:
`./db_bench --db=/home/yiwu/tmp/db_bench --use_blob_db --value_size=1024 --num=1000000 --benchmarks=readrandom --use_existing_db --cache_size=32000000`
master: throughput 234MB/s, get micros p50 5.984 p95 9.998 p99 20.817 p100 787
this PR: throughput 261MB/s, get micros p50 5.157 p95 9.928 p99 20.724 p100 190
Closes https://github.com/facebook/rocksdb/pull/3301

Differential Revision: D6615950

Pulled By: yiwu-arbug

fbshipit-source-id: 052410c6d8539ec0cc305d53793bbc8f3616baa3
2018-01-09 14:36:15 -08:00
..
blob_compaction_filter.h Blob DB: Add statistics 2017-11-28 11:58:49 -08:00
blob_db_impl.cc Blob DB: avoid having a separate read of checksum 2018-01-09 14:36:15 -08:00
blob_db_impl.h BlobDB: update blob_db_options.bytes_per_sync behavior 2018-01-09 14:36:03 -08:00
blob_db_iterator.h Blob DB: Add statistics 2017-11-28 11:58:49 -08:00
blob_db_test.cc BlobDB: Remove the need to get sequence number per write 2018-01-09 14:35:52 -08:00
blob_db.cc BlobDB: refactor DB open logic 2017-12-11 12:12:38 -08:00
blob_db.h BlobDB: update blob_db_options.bytes_per_sync behavior 2018-01-09 14:36:03 -08:00
blob_dump_tool.cc BlobDB: Remove the need to get sequence number per write 2018-01-09 14:35:52 -08:00
blob_dump_tool.h Change RocksDB License 2017-07-15 16:11:23 -07:00
blob_file.cc BlobDB: Remove the need to get sequence number per write 2018-01-09 14:35:52 -08:00
blob_file.h BlobDB: Remove the need to get sequence number per write 2018-01-09 14:35:52 -08:00
blob_index.h Blob DB: Inline small values in base DB 2017-10-26 12:30:54 -07:00
blob_log_format.cc BlobDB: Remove the need to get sequence number per write 2018-01-09 14:35:52 -08:00
blob_log_format.h BlobDB: Remove the need to get sequence number per write 2018-01-09 14:35:52 -08:00
blob_log_reader.cc Blob DB: Add statistics 2017-11-28 11:58:49 -08:00
blob_log_reader.h Blob DB: Add statistics 2017-11-28 11:58:49 -08:00
blob_log_writer.cc BlobDB: refactor DB open logic 2017-12-11 12:12:38 -08:00
blob_log_writer.h BlobDB: refactor DB open logic 2017-12-11 12:12:38 -08:00
ttl_extractor.cc Move blob_db/ttl_extractor.h into blob_db/blob_db.h 2017-07-28 14:28:21 -07:00