Skip to content
  • sdong's avatar
    Add DB property "rocksdb.estimate-table-readers-mem" · 1242bfca
    sdong authored
    Add a DB Property "rocksdb.estimate-table-readers-mem" to return estimated memory usage by all loaded table readers, other than allocated from block cache.
    Refactor the property codes to allow getting property from a version, with DB mutex not acquired.
    Test Plan: Add several checks of this new property in existing codes for various cases.
    Reviewers: yhchiang, ljin
    Reviewed By: ljin
    Subscribers: xjin, igor, leveldb
    Differential Revision: