Yueh-Hsuan Chiang 7d7ee2b654 Add Memory Insight support to utilities
Summary:
This patch introduces utilities/memory, which currently includes
GetApproximateMemoryUsageByType that reports different types of
rocksdb memory usage given a list of input DBs.

The API also take care of the case where Cache could be shared
across multiple column families / multiple db instances.

Currently, it reports memory usage of memtable, table-readers
and cache.

Test Plan: utilities/memory/memory_test.cc

Reviewers: igor, anthony, IslamAbdelRahman, sdong

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D49257
2015-11-03 17:52:17 -08:00
..
2015-11-03 17:52:17 -08:00
2015-04-23 12:10:36 -07:00
2015-08-07 21:59:51 -07:00
2015-07-01 16:13:56 -07:00
2015-08-06 17:59:05 -07:00
2015-08-31 16:13:29 -07:00
2015-07-17 18:59:11 +02:00
2015-10-19 15:05:59 -07:00
2015-09-17 11:42:56 -07:00
2015-10-26 16:32:14 -07:00