cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Stepura (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-7789) cqlsh COPY Command should display progress
Date Wed, 20 Aug 2014 21:29:27 GMT


Mikhail Stepura updated CASSANDRA-7789:

    Attachment: CASSANDRA-2.1-7789.patch

I'm attaching a patch which print a progress for COPY operations
* Number of rows copied
* Avg. read speed (rows/s)
* Avg. write speed (rows/s)

> cqlsh COPY Command should display progress
> ------------------------------------------
>                 Key: CASSANDRA-7789
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Michaël Figuière
>            Assignee: Mikhail Stepura
>            Priority: Minor
>              Labels: cqlsh
>             Fix For: 2.1.1
>         Attachments: CASSANDRA-2.1-7789.patch
> While CASSANDRA-7405 is on its way to make the {{COPY}} command much faster, it's still
likely to hang for many minutes when transferring a large amount of data. 
> This gives the feeling to the newcomers that something went wrong. Even if the user expect
cqlsh to hang for a long moment, it's not very convenient as you have no idea of when the
copy will be complete.
> I believe it would be very pleasant if the {{COPY}} command could display an in-place
progress output while it's executed with probably:
> * Rows copied
> * avg Rows/s
> * CSV File R/W MB
> * avg CSV File R/W MB/s

This message was sent by Atlassian JIRA

View raw message