Konstantin Orlov created IGNITE-21018:
-----------------------------------------

             Summary: Sql. Introduce cache for plan mapping
                 Key: IGNITE-21018
                 URL: https://issues.apache.org/jira/browse/IGNITE-21018
             Project: Ignite
          Issue Type: Improvement
          Components: sql
            Reporter: Konstantin Orlov


Mapping query on cluster topology is fairly expensive operation, because it 
requires acquiring replicas per every partition a traversing a plan tree in 
order to compute colocation of a query fragment.

This problem can be mitigated by introducing a cache for mapped queries.

Implementation notes: do not forget to invalidate cache when partition lease 
got expired or logical topology has been changed.



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

Reply via email to