Class RocksDBMemoryStats

java.lang.Object
com.linkedin.venice.stats.AbstractVeniceStats
com.linkedin.davinci.stats.RocksDBMemoryStats

public class RocksDBMemoryStats extends AbstractVeniceStats
Class that exposes RocksDB memory consumption stats based on all properties that are made available in https://github.com/facebook/rocksdb/blob/master/include/rocksdb/db.h#L870 Properties exist on a per RockDB database basis (equivalent to a Venice partition). This class aggregates across the partitions and emits aggregate stats
  • Constructor Details

    • RocksDBMemoryStats

      public RocksDBMemoryStats(io.tehuti.metrics.MetricsRepository metricsRepository, String name, boolean plainTableEnabled)
  • Method Details

    • setMemoryLimit

      public void setMemoryLimit(long memoryLimit)
    • setSstFileManager

      public void setSstFileManager(org.rocksdb.SstFileManager sstFileManager)
    • registerPartition

      public void registerPartition(String partitionName, RocksDBStoragePartition rocksDBPartition)
    • deregisterPartition

      public void deregisterPartition(String partitionName)