Revision 86a0133d0527a1005ebd9b517fa973c1a4a0a1ae authored by sdong on 23 April 2014, 01:31:55 UTC, committed by sdong on 23 April 2014, 02:29:05 UTC
Summary:
This is a temp solution to expose index sizes to users from PlainTableReader before we persistent them to files.
In this patch, the memory consumption of indexes used by PlainTableReader will be reported as two user defined properties, so that users can monitor them.

Test Plan:
Add a unit test.
make all check`

Reviewers: haobo, ljin

Reviewed By: haobo

CC: nkg-, yhchiang, igor, ljin, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D18195
1 parent 1068d2f
History
File Mode Size
arena.cc -rw-r--r-- 3.0 KB
arena.h -rw-r--r-- 3.3 KB
arena_test.cc -rw-r--r-- 4.0 KB
auto_roll_logger.cc -rw-r--r-- 3.6 KB
auto_roll_logger.h -rw-r--r-- 2.7 KB
auto_roll_logger_test.cc -rwxr-xr-x 9.9 KB
autovector.h -rw-r--r-- 8.3 KB
autovector_test.cc -rw-r--r-- 8.4 KB
benchharness.cc -rw-r--r-- 11.2 KB
benchharness.h -rw-r--r-- 11.0 KB
benchharness_test.cc -rw-r--r-- 1.4 KB
blob_store.cc -rw-r--r-- 7.3 KB
blob_store.h -rw-r--r-- 4.9 KB
blob_store_test.cc -rw-r--r-- 5.4 KB
bloom.cc -rw-r--r-- 3.5 KB
bloom_test.cc -rw-r--r-- 4.1 KB
build_version.h -rw-r--r-- 701 bytes
cache.cc -rw-r--r-- 12.6 KB
cache_test.cc -rw-r--r-- 10.9 KB
coding.cc -rw-r--r-- 4.8 KB
coding.h -rw-r--r-- 9.7 KB
coding_test.cc -rw-r--r-- 8.6 KB
comparator.cc -rw-r--r-- 2.4 KB
crc32c.cc -rw-r--r-- 16.1 KB
crc32c.h -rw-r--r-- 1.6 KB
crc32c_test.cc -rw-r--r-- 2.0 KB
dynamic_bloom.cc -rw-r--r-- 1.6 KB
dynamic_bloom.h -rw-r--r-- 2.9 KB
dynamic_bloom_test.cc -rw-r--r-- 5.7 KB
env.cc -rw-r--r-- 5.7 KB
env_hdfs.cc -rw-r--r-- 15.5 KB
env_posix.cc -rw-r--r-- 44.2 KB
env_test.cc -rw-r--r-- 15.8 KB
filelock_test.cc -rw-r--r-- 1.3 KB
filter_policy.cc -rw-r--r-- 628 bytes
hash.cc -rw-r--r-- 1.2 KB
hash.h -rw-r--r-- 716 bytes
hash_linklist_rep.cc -rw-r--r-- 14.0 KB
hash_linklist_rep.h -rw-r--r-- 1.1 KB
hash_skiplist_rep.cc -rw-r--r-- 10.5 KB
hash_skiplist_rep.h -rw-r--r-- 1.4 KB
histogram.cc -rw-r--r-- 6.9 KB
histogram.h -rw-r--r-- 2.2 KB
histogram_test.cc -rw-r--r-- 1.6 KB
ldb_cmd.cc -rw-r--r-- 56.2 KB
ldb_cmd.h -rw-r--r-- 17.3 KB
ldb_cmd_execute_result.h -rw-r--r-- 1.6 KB
ldb_tool.cc -rw-r--r-- 3.4 KB
log_buffer.cc -rw-r--r-- 2.0 KB
log_buffer.h -rw-r--r-- 1.4 KB
log_write_bench.cc -rw-r--r-- 2.1 KB
logging.cc -rw-r--r-- 2.0 KB
logging.h -rw-r--r-- 1.6 KB
manual_compaction_test.cc -rw-r--r-- 4.4 KB
murmurhash.cc -rw-r--r-- 3.9 KB
murmurhash.h -rw-r--r-- 1.3 KB
mutexlock.h -rw-r--r-- 2.0 KB
options.cc -rw-r--r-- 21.4 KB
perf_context.cc -rw-r--r-- 2.5 KB
perf_context_imp.h -rw-r--r-- 2.1 KB
posix_logger.h -rw-r--r-- 4.7 KB
random.h -rw-r--r-- 3.1 KB
signal_test.cc -rw-r--r-- 588 bytes
skiplistrep.cc -rw-r--r-- 3.7 KB
slice.cc -rw-r--r-- 1.7 KB
stack_trace.h -rw-r--r-- 641 bytes
statistics.cc -rw-r--r-- 2.6 KB
statistics.h -rw-r--r-- 2.0 KB
stats_logger.h -rw-r--r-- 910 bytes
status.cc -rw-r--r-- 2.3 KB
stl_wrappers.h -rw-r--r-- 882 bytes
stop_watch.h -rw-r--r-- 1.6 KB
string_util.cc -rw-r--r-- 672 bytes
string_util.h -rw-r--r-- 484 bytes
sync_point.cc -rw-r--r-- 1.6 KB
sync_point.h -rw-r--r-- 2.7 KB
testharness.cc -rw-r--r-- 1.9 KB
testharness.h -rw-r--r-- 4.8 KB
testutil.cc -rw-r--r-- 1.7 KB
testutil.h -rw-r--r-- 2.9 KB
thread_local.cc -rw-r--r-- 7.1 KB
thread_local.h -rw-r--r-- 6.3 KB
thread_local_test.cc -rw-r--r-- 11.4 KB
vectorrep.cc -rw-r--r-- 8.3 KB

back to top