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

Optimise compaction performance for unique partition keys

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Later
    • None
    • None
    • None

    Description

      Related to the raft of improvements we're looking at for improving the CPU burden of merge, if we can demonstrate that an entire partition key is unique to a given file (which is quite easily done) we can avoid materialising any of the row, and simply copy the data wholesale, with potentially some small modifications to the index file data if it has clustering column index entries, and special treatment of tombstones (most simple would be to only check there are no tombstones to purge, and abort this approach if so).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              benedict Benedict Elliott Smith
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: