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

Provide a method for flushing a CQLSSTableWriter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Fix Version/s: 4.x
    • Component/s: Dependencies
    • Labels:
      None

      Description

      The buffer size estimation in SSTableSimpleUnsortedWriter is not very accurate and causes OOM errors quite often (or lots of GC pressure) for my specific use case (rows that vary greatly in # of columns). I guess if the user knows their data well enough, they can schedule flushes when really needed.

      It's just an idea, not sure if flushing would actually help. However, playing with bufferSizeInMB is not of much help.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                garciat Gabriel Garcia
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: