[
https://issues.apache.org/jira/browse/CASSANDRA-18296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17696101#comment-17696101
]
maxwellguo edited comment on CASSANDRA-18296 at 3/15/23 7:45 AM:
-----------------------------------------------------------------
tablehistograms's options are so old ,you can only chose ks table or ks.table
nor all table .
I want to change the option totally .
1. nodetool tablehistograms ks.tb1 ks.tb2 ....//list of tables with format
keyspace.table
2.nodetool tablehistograms ks1 ks2 ks3 ...//list of keyspaces
3.nodetool tablehistograms -i ks1 ks2 .... //list of table histograms except
for the keyspaces list behind the option -i
4.nodetool tablehistograns -i ks ks.tb // list tables except for table in
keyspace ks and ks.tb table.
5.none option specified ,then all tables histograms will be output.
this way , we can some what be compatible with the old options for nodetool
tablehistograms ks.tb1, but the nodetool tablehistograms ks1 ks2 's result
will
be different from before, now is two keyspace,ks1 and ks2, but it was a table
with keyspace name ks1, and table name ks2 before.
[~smiklosovic] [~brandonwilliams] can you help me to take a look at this?
was (Author: maxwellguo):
tablehistograms's options are so old ,you can only chose ks table or ks.table
nor all table .
I want to change the option totally .
1. nodetool tablehistograms ks.tb1 ks.tb2 ....//list of tables with format
keyspace.table
2.nodetool tablehistograms ks1 ks2 ks3 ...//list of keyspaces
3.nodetool tablehistograms -i ks1 ks2 .... //list of table histograms except
for the keyspaces list behind the option -i
4.none option specified ,then all tables histograms will be output.
this way , we can some what be compatible with the old options for nodetool
tablehistograms ks.tb1, but the nodetool tablehistograms ks1 ks2 's result
will
be different from before, now is two keyspace,ks1 and ks2, but it was a table
with keyspace name ks1, and table name ks2 before.
[~smiklosovic] [~brandonwilliams] can you help me to take a look at this?
> Enhance nodetool tablehistograms with ignore options
> ----------------------------------------------------
>
> Key: CASSANDRA-18296
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18296
> Project: Cassandra
> Issue Type: Improvement
> Components: Tool/nodetool
> Reporter: maxwellguo
> Assignee: maxwellguo
> Priority: Normal
>
> Add some options for nodetool tablehistograms to filter the output
> of System tables and data tables.
> As we know if we nodetool tablehistograms all tables will be output ,but
> system table 's number are too much.
> Add options to filter only output data tables or system tables, together with
> the already exist ks.tb lists, the output options are just fine.
> It seems that tablestats got the -i option that can ignore keyspace, just add
> this first, and then to see wether this can meet our needs
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]