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 <kefu.chai@scylladb.com>

Closes scylladb/scylladb#21598
This commit is contained in:
Kefu Chai
2024-11-15 11:46:16 +08:00
committed by Botond Dénes
parent 5e391eee25
commit 23a7e9a6d0

View File

@@ -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
------------------------------------------------ ---------------------------------------------------------------------------------