This is an automated email from the ASF dual-hosted git repository.

jjirsa pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 5ec6842  Docs: Clarify PartitionSize table metric documentation
5ec6842 is described below

commit 5ec6842b3f6c9e42ed9aa12b8b138391fd5ac335
Author: Joseph Lynch <joe.e.ly...@gmail.com>
AuthorDate: Wed Jan 9 17:14:34 2019 -0800

    Docs: Clarify PartitionSize table metric documentation
    
    The documentation has historically referred to (Min|Max|Mean)PartitionSize
    metrics as "compacted partition size", but in practice few users know what
    that means. Attempt to clarify the meaning of these metrics.
    
    Closes #298
    
    Patch by Joseph Lynch; Reviewed by Jeff Jirsa
---
 doc/source/operating/metrics.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/source/operating/metrics.rst b/doc/source/operating/metrics.rst
index 4f61bf2..40a1cff 100644
--- a/doc/source/operating/metrics.rst
+++ b/doc/source/operating/metrics.rst
@@ -108,9 +108,9 @@ PendingCompactions                      Gauge<Integer> 
Estimate of number of pen
 LiveSSTableCount                        Gauge<Integer> Number of SSTables on 
disk for this table.
 LiveDiskSpaceUsed                       Counter        Disk space used by 
SSTables belonging to this table (in bytes).
 TotalDiskSpaceUsed                      Counter        Total disk space used 
by SSTables belonging to this table, including obsolete ones waiting to be GC'd.
-MinPartitionSize                        Gauge<Long>    Size of the smallest 
compacted partition (in bytes).
-MaxPartitionSize                        Gauge<Long>    Size of the largest 
compacted partition (in bytes).
-MeanPartitionSize                       Gauge<Long>    Size of the average 
compacted partition (in bytes).
+MinPartitionSize                        Gauge<Long>    Estimated minimum 
uncompressed partition size in bytes for any given SSTable in this table. Note 
that if there are multiple SSTables containing the same partition this metric 
does not sum those sizes, it just returns the minimum. For example if there are 
two SSTables containing only one (identical) partition with size 3 and 7, this 
metric would show 3 instead of 10.
+MaxPartitionSize                        Gauge<Long>    Estimated maximum 
uncompressed partition size in bytes for any given SSTable in this table. Note 
that if there are multiple SSTables containing the same partition this metric 
does not sum those sizes, it just returns the maximum. For example if there are 
two SSTables containing only one (identical) partition with size 3 and 7, this 
metric would show 7 instead of 10.
+MeanPartitionSize                       Gauge<Long>    Estimated weighted mean 
uncompressed partition size in bytes across all SSTables in this table. Each 
SSTable contributes an estimated mean size proportional to the estimated number 
of partitions in that SSTable. For example if there are two SSTables with mean 
size 2 and 300, covering 200 partitions and 3 partitions respectively, this 
metric would return (2 * 200 + 300 * 3) / (200 + 3) = 6.
 BloomFilterFalsePositives               Gauge<Long>    Number of false 
positives on table's bloom filter.
 BloomFilterFalseRatio                   Gauge<Double>  False positive ratio of 
table's bloom filter.
 BloomFilterDiskSpaceUsed                Gauge<Long>    Disk space used by 
bloom filter (in bytes).


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to