You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Branimir Lambov (Jira)" <ji...@apache.org> on 2024/11/20 13:23:00 UTC

[jira] [Updated] (CASSANDRA-20092) SSTableScanner can be vastly simplified for compaction

     [ https://issues.apache.org/jira/browse/CASSANDRA-20092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Branimir Lambov updated CASSANDRA-20092:
----------------------------------------
    Change Category: Performance
         Complexity: Normal
           Assignee: Branimir Lambov
             Status: Open  (was: Triage Needed)

> SSTableScanner can be vastly simplified for compaction
> ------------------------------------------------------
>
>                 Key: CASSANDRA-20092
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20092
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Local/Compaction
>            Reporter: Branimir Lambov
>            Assignee: Branimir Lambov
>            Priority: Normal
>
> One of the main bottlenecks for compaction performance is its use of the {{SSTableScanner}} class, whose main purpose is to implement partition range queries and as such supports filtering by row and column that is not helpful to compaction. To implement the latter it must rely on the sstable's index, adding a lot of complexity and inefficiency.
> Implementing a simpler version of a scanner that reads off the data file directly for given spans of offsets would speed up compaction significantly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org