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

Aleksey Plekhanov reassigned IGNITE-24664:
------------------------------------------

    Assignee: Aleksey Plekhanov

> Calcite engine. Use _key_PK index scan instead of hash index scan if possible
> -----------------------------------------------------------------------------
>
>                 Key: IGNITE-24664
>                 URL: https://issues.apache.org/jira/browse/IGNITE-24664
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Aleksey Plekhanov
>            Assignee: Aleksey Plekhanov
>            Priority: Major
>              Labels: calcite, ise
>
> Looks like _key_PK index scan is more effective than hash index scan. Hash 
> index scan requires also entity type check, but _key_PK index scan only built 
> for required entity type, so type check can be skipped. 
> H2 engine uses PK index scan for table scans (see H2TableScanIndex.delegate() 
> method).
> Calcite engine should also use PK index scan when indexes are in correct 
> state.



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

Reply via email to