Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-7789

cqlsh COPY Command should display progress

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1.1
    • None

    Description

      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

      Attachments

        1. 7789-alternate.txt
          2 kB
          Tom Hobbs
        2. CASSANDRA-2.1-7789.patch
          58 kB
          Mikhail Stepura
        3. CASSANDRA-2.1-7789-v2.patch
          7 kB
          Mikhail Stepura

        Issue Links

          Activity

            People

              mishail Mikhail Stepura
              mfiguiere Michaël Figuière
              Mikhail Stepura
              Tom Hobbs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: