You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Caleb Rackliffe (Jira)" <ji...@apache.org> on 2024/09/06 18:25:00 UTC

[jira] [Updated] (CASSANDRA-19497) ResultRetriever should batch clusterings/rows during SAI post-filtering reads

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

Caleb Rackliffe updated CASSANDRA-19497:
----------------------------------------
    Reviewers: Caleb Rackliffe

> ResultRetriever should batch clusterings/rows during SAI post-filtering reads
> -----------------------------------------------------------------------------
>
>                 Key: CASSANDRA-19497
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19497
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Feature/SAI
>            Reporter: Caleb Rackliffe
>            Assignee: Arun Ganesh
>            Priority: Normal
>             Fix For: 5.0.x, 5.x
>
>         Attachments: heap-flamegraph.html, wall-no-parked-threads.html
>
>
> SAI currently creates and executes a {{SinglePartitionReadCommand}} for every {{PrimaryKey}} the index produces to read the corresponding row for post-filtering. Informed by the limits present in the read command itself, it should be possible to batch those reads w/ a {{ClusteringIndexNamesFilter}} in many fewer {{SinglePartitionReadCommands}}. When we have a handful of matches in a large partition, this seems like would involve many fewer seeks, less unnecessary object creation, etc.



--
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