[
https://issues.apache.org/jira/browse/IGNITE-29325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikita Amelchev updated IGNITE-29325:
-------------------------------------
Description:
After partition pruning, or when query partitions are set explicitly, only a
few partitions of a colocation group are left.
The initiator node still checks every partition of the table twice per query:
when the filtered assignments are built and when a fragment executed on this
node looks for its partitions.
For a query by a primary key these checks take a noticeable part of the
execution time.
ARM:
!image-2026-11-20-17-43-32-479.png|width=997,height=124!
X86:
!image-2026-11-20-17-44-50-504.png|width=992,height=110!
was:
After partition pruning, or when query partitions are set explicitly, only a
few partitions of a colocation group are left.
The initiator node still checks every partition of the table twice per query:
when the filtered assignments are built and when a fragment executed on this
node looks for its partitions.
For a query by a primary key these checks take a noticeable part of the
execution time.
ARM:
!image-2026-11-20-17-43-32-479.png|width=997,height=124!
X86:
!image-2026-11-20-17-44-50-504.png!
> SQL Calcite: Do not check every partition of a colocation group on the
> initiator node after partition pruning
> -------------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-29325
> URL: https://issues.apache.org/jira/browse/IGNITE-29325
> Project: Ignite
> Issue Type: Improvement
> Reporter: Nikita Amelchev
> Assignee: Nikita Amelchev
> Priority: Major
> Fix For: 2.20
>
> Attachments: image-2026-11-20-17-43-32-479.png,
> image-2026-11-20-17-44-50-504.png
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> After partition pruning, or when query partitions are set explicitly, only a
> few partitions of a colocation group are left.
> The initiator node still checks every partition of the table twice per query:
> when the filtered assignments are built and when a fragment executed on this
> node looks for its partitions.
> For a query by a primary key these checks take a noticeable part of the
> execution time.
> ARM:
> !image-2026-11-20-17-43-32-479.png|width=997,height=124!
> X86:
> !image-2026-11-20-17-44-50-504.png|width=992,height=110!
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)