Kirill Tkalenko created IGNITE-29320:
----------------------------------------

             Summary: SQL Calcite: Fix performance regression introduced by 
IGNITE-29178
                 Key: IGNITE-29320
                 URL: https://issues.apache.org/jira/browse/IGNITE-29320
             Project: Ignite
          Issue Type: Bug
    Affects Versions: 2.18
            Reporter: Kirill Tkalenko
            Assignee: Kirill Tkalenko


A concurrent statistics refresh can cause Calcite to cost an index scan and a 
table scan using different row counts for the same table. This can cause 
Calcite to choose and cache a full table scan for the indexed range query in 
{{{}sql_calcite_query_put{}}}.

Use a single row count estimate per table during query planning while 
preserving the topology change fix from IGNITE-29178.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to