Skip to content

AxonOps — AI-Native Control Plane for Open Source Data Platforms

nodetool refreshsizeestimates

Refreshes the size estimates table.


Terminal window
nodetool [connection_options] refreshsizeestimates

See connection options for connection options.

nodetool refreshsizeestimates updates the system.size_estimates table with current partition count and data size estimates for each table. These estimates are used by drivers for query planning and range scans.


Terminal window
nodetool refreshsizeestimates

Terminal window
# After bulk load
nodetool refreshsizeestimates
Terminal window
# Get fresh estimates for planning
nodetool refreshsizeestimates
# Query estimates
cqlsh -e "SELECT * FROM system.size_estimates LIMIT 10;"
Terminal window
# Update estimates after major compaction
nodetool refreshsizeestimates

SELECT keyspace_name, table_name, range_start, range_end,
mean_partition_size, partitions_count
FROM system.size_estimates;

CommandRelationship
tablestatsDetailed table statistics
ringToken range information