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 2025/01/07 21:12:00 UTC

[jira] [Created] (CASSANDRA-20191) Optimize initial skipping logic for SAI queries on large partitions

Caleb Rackliffe created CASSANDRA-20191:
-------------------------------------------

             Summary: Optimize initial skipping logic for SAI queries on large partitions
                 Key: CASSANDRA-20191
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20191
             Project: Apache Cassandra
          Issue Type: Improvement
            Reporter: Caleb Rackliffe


In {{StorageAttachedIndexSearcher.ResultRetriever}}, we skip all postings lists produced by queries on individual column indexes to the first partition in the provided {{DataRanges}}. This is an obvious and useful step, but for queries on large partitions, it might not go as far as it could. If paging or user restrictions on the clustering key space are in play, it is probably suboptimal to not even attempt to skip the postings, which are row-addressable, to the first row after the clustering prefix in the (likely single) {{DataRange}}.



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