cockroachdb / pebble

RocksDB/LevelDB inspired key-value database in Go
BSD 3-Clause "New" or "Revised" License
4.94k stars 458 forks source link

table cache: include tableCacheNode, tableCacheValue in size metric #4153

Closed RaduBerinde closed 1 week ago

RaduBerinde commented 1 week ago

We currently only count the size of the sstable.Reader() in the table cache size metric. This commit adds the sizes of the tableCacheNode and tableCacheValue as well.

cockroach-teamcity commented 1 week ago

This change is Reviewable

RaduBerinde commented 1 week ago

TFTR!