Danila Fediashchin
11/18/2026, 9:48 AMRocky
11/18/2026, 9:49 AMSHOW DATA (and per-rollup rows in it) is fed by BE→FE reporting, not computed on demand, so there is no documented "refresh" command — you're waiting on the report cycles. For a reliable per-rollup number, use SHOW TABLET ... WHERE indexname=... or information_schema.be_tablets instead.
Why the size is empty / stale
• The docs explicitly note "There is a time delay in data statistics" for SHOW DATA. Size comes from BE storage reports and tablet stats, refreshed on intervals: BE report_disk_state_interval_seconds (default 60s, mutable), BE report_tablet_interval_seconds (default 60s, mutable), BE tablet_stat_cache_update_interval_second (default 300s), and FE tablet_stat_update_interval_second (default 300s, mutable — the interval at which FE pulls tablet statistics from each BE).
• So the practical "refresh" is: wait a few report cycles, or lower those intervals (ADMIN SET FRONTEND CONFIG ("tablet_stat_update_interval_second" = "...") for the FE one; BE ones are config-file/BE-config changes).
• Related known issue: BE status report delayed by slow file size checks under high disk I/O (large tablet counts), fixed in 3.5.5 / 4.0.0 / 4.1.0 — on older builds, sizes can lag or look empty under heavy I/O.
Ways to actually measure a rollup
1. Per-rollup via tablets (best fit, supports an index-name filter):
sql
SHOW TABLET FROM db.tbl WHERE indexname = "rollup_name";
Returns DataSize and RowCount per tablet replica — sum them and divide by the replication number. You can also filter by partition(...).
2. information_schema.be_tablets — DATA_SIZE, NUM_ROW, INDEX_DISK per tablet. Caveat: it exposes TABLE_ID / PARTITION_ID / TABLET_ID but no index (rollup) name column, so it can't be split by rollup in one query; and on builds before 4.1.1 / 4.0.10 / 3.5.16 DATA_SIZE double-counts rowset-embedded indexes.
3. SHOW PROC '/dbs/<db>/<tbl>/partitions' — `DataSize`/`RowCount` per partition (all indexes together, not per rollup).
4. Cross-check with SHOW DATA FROM db.tbl itself — it is supposed to break down per IndexName with Size, ReplicaCount, RowCount, so an empty value there means the stat wasn't reported yet, not that the rollup is empty.
What I couldn't confirm: there's no documented command to force-recompute SHOW DATA numbers (no "refresh stats" equivalent), and I didn't find a doc statement about why a specific rollup would keep reporting nothing after several report cycles. If it stays empty well past those intervals, it's worth checking whether the rollup's build job actually finished, and reporting it on the StarRocks GitHub issues / community Slack with version and cluster mode (shared-nothing vs shared-data) — shared-data sizing has its own known bugs (e.g. rollup files placed outside the base table path, fixed in 3.5.2 / 4.0.0 / 4.1.0).
References
• sql-reference/sql-statements/cluster-management/nodes_processes/SHOW_PROC.md
• sql-reference/sql-statements/table_bucket_part_index/SHOW_TABLET.md
• knowledge/known_issues/shared_data.md (StarRocks knowledge base)
• sql-reference/sql-statements/table_bucket_part_index/SHOW_PARTITIONS.md
• sql-reference/information_schema/partitions.md
• sql-reference/information_schema/be_tablets.md