[ 
https://issues.apache.org/jira/browse/CASSANDRA-14457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16500429#comment-16500429
 ] 

Chris Lohfink commented on CASSANDRA-14457:
-------------------------------------------

Latest looks something like:

{code}
cqlsh> desc table system_views.sstable_tasks;

CREATE TABLE system_views.sstable_tasks (
    compaction_id uuid,
    keyspace_name text,
    kind text,
    progress bigint,
    table_name text,
    total bigint,
    unit text,
    PRIMARY KEY (keyspace_name, table_name, compaction_id)
) WITH CLUSTERING ORDER BY (table_name ASC, compaction_id ASC)
    AND compaction = {'class': 'None'}
    AND compression = {};

cqlsh> SELECT * FROM system_views.sstable_tasks;

 keyspace_name | table_name | compaction_id                        | kind       
| progress | total    | unit
---------------+------------+--------------------------------------+------------+----------+----------+-------
         basic |      wide3 | 066ba210-6811-11e8-ade8-f5df16641a9d | compaction 
|  2266347 | 33091208 | bytes

(1 rows)
{code}

> Add a virtual table with current compactions
> --------------------------------------------
>
>                 Key: CASSANDRA-14457
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14457
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Chris Lohfink
>            Assignee: Chris Lohfink
>            Priority: Minor
>             Fix For: 4.x
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to