Class StorageInsights

java.lang.Object
com.cockroachlabs.data.continuum.plenum.StorageInsights

public class StorageInsights extends Object
Read-only Cockroach Plenum storage insights.

Surfaces usage-based storage signals — per-table estimated row counts and, where the running version exposes it, approximate on-disk size — using only customer-safe SHOW surfaces (never crdb_internal, which is restricted). Version-tolerant: signals a given version does not expose are returned as OptionalLong.empty() rather than raising.

  • Constructor Details

    • StorageInsights

      public StorageInsights(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate)
  • Method Details

    • summary

      public List<TableStorage> summary()
      Summarize storage for every table in the current database.