From 23a7e9a6d09dcc631d2b42c72f7a18ddd63a2b87 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 15 Nov 2024 11:46:16 +0800 Subject: [PATCH] docs: align tablestats documentation with actual output Update the tablestats documentation to correctly describe the "Number of partitions" metric. The previous documentation incorrectly referred to "estimated row count" when the command actually shows estimated partition count. Before: ``` Number of keys (estimate) | The estimated row count ``` After: ``` Number of partitions (estimate) | The estimated partition count ``` This distinction is important since a partition (identified by its partition key) can contain multiple rows in ScyllaDB. The updated format also matches Cassandra's nodetool output for better compatibility. Fixes scylladb/scylladb#21586 Signed-off-by: Kefu Chai Closes scylladb/scylladb#21598 --- .../operating-scylla/nodetool-commands/_common/stats-output.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/operating-scylla/nodetool-commands/_common/stats-output.rst b/docs/operating-scylla/nodetool-commands/_common/stats-output.rst index 9315c5dac8..b80c113536 100644 --- a/docs/operating-scylla/nodetool-commands/_common/stats-output.rst +++ b/docs/operating-scylla/nodetool-commands/_common/stats-output.rst @@ -72,7 +72,7 @@ Off heap memory used (total) The memory used by memtable, b ------------------------------------------------ --------------------------------------------------------------------------------- SSTable Compression Ratio The ratio of the SSTable compression ------------------------------------------------ --------------------------------------------------------------------------------- -Number of keys (estimate) The estimated row count (based on the estimated histogram) +Number of partitions (estimate) The estimated partition count (based on the estimated histogram) ------------------------------------------------ --------------------------------------------------------------------------------- Memtable cell count memtable column count ------------------------------------------------ ---------------------------------------------------------------------------------