[ 
https://issues.apache.org/jira/browse/CASSANDRA-16310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Eriksson updated CASSANDRA-16310:
----------------------------------------
    Test and Documentation Plan: new tests + cci runs
                         Status: Patch Available  (was: Open)

patch: https://github.com/krummas/cassandra/commits/marcuse/16310
cci: 
https://app.circleci.com/pipelines/github/krummas/cassandra?branch=marcuse%2F16310

tracks size + counts during full repair (or preview (-vd) repair), outputs the 
top partitions in tablestats or jmx:
{code}
$ bin/nodetool -p 7100 tablestats tlp_stress                                    
                                                                                
                                                                                
                                                
Total number of tables: 42                                                      
                                                                                
                                                                                
                                                                                
       
----------------                                                                
                                                                                
                                                                                
                                                                                
       
Keyspace : tlp_stress                                                           
                                                                                
                                                                                
                                                                                
       
        Read Count: 0                                                           
                                                                                
                                                                                
                                                                                
       
        Read Latency: NaN ms                                                    
                                                                                
                                                                                
                                                                                
       
        Write Count: 0                                                          
                                                                                
                                                                                
                                                                                
       
        Write Latency: NaN ms                                                   
                                                                                
                                                                                
                                                                                
       
        Pending Flushes: 0                                                      
                                                                                
                                                                                
                                                                                
       
                Table: random_access                                            
                                                                                
                                                                                
                                                                                
       
                SSTable count: 1                                                
                                                                                
                                                                                
                                                                                
       
                [....]
                Dropped Mutations: 0  
                Top partitions by size:
                  Key             Size
                  001.0.598429    3134
                  001.0.509424    2986
                  001.0.457455    2964
                  001.0.499758    2886
                  001.0.25632     2864
                  001.0.507206    2787
                  001.0.37708     2784
                  001.0.131830    2753
                  001.0.431310    2738            
                  001.0.28517     2729 
                Top partitions by tombstone count:
                  Key             Count
                  001.0.550370    9
                  001.0.766848    9
                  001.0.518628    8
                  001.0.928950    8
                  001.0.207439    8
                  001.0.956752    8
                  001.0.83045     7
                  001.0.324729    7
                  001.0.797630    7
                  001.0.929626    7
{code}

> Track top partitions (by size and tombstone count) and display in nodetool 
> tablestats
> -------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16310
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16310
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/Other
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Normal
>             Fix For: 4.0-beta4
>
>
> We should track the top partitions by size and tombstone count and display in 
> {{nodetool tablestats}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to