[ https://issues.apache.org/jira/browse/IGNITE-16315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksey Plekhanov updated IGNITE-16315: --------------------------------------- Description: For simple queries SQL engine most of the time spend in writing/reading query start requests, which contains a lot of data. Nested instances of {{ColocationGroup}} class contain assignments for each partition (\{{List<List<UUID>>}}). Transferred size can be reduced if we compact assignments somehow. Also, the target colocation group from fragment description contains redundant synthetic partitions, this also can be optimized. (was: For simple queries SQL engine most of the time spend in writing/reading query start requests, which contains a lot of data. {{FragmentDescription}} class stores in communication message {{ColocationGroup}} type (\{{target}} field), which contains cache partition assignments (for each partition of the cache, 1024 items by default, list of node IDs are stored). After it, {{ColocationGroup}} is stored again in {{FragmentMapping}} class. We need to investigate this behaviour and optimize it if possible.) > Calcite engine. Query start request contains a lot of data > ---------------------------------------------------------- > > Key: IGNITE-16315 > URL: https://issues.apache.org/jira/browse/IGNITE-16315 > Project: Ignite > Issue Type: Improvement > Reporter: Aleksey Plekhanov > Assignee: Aleksey Plekhanov > Priority: Major > Labels: calcite2-required, calcite3-required > Time Spent: 10m > Remaining Estimate: 0h > > For simple queries SQL engine most of the time spend in writing/reading query > start requests, which contains a lot of data. Nested instances of > {{ColocationGroup}} class contain assignments for each partition > (\{{List<List<UUID>>}}). Transferred size can be reduced if we compact > assignments somehow. Also, the target colocation group from fragment > description contains redundant synthetic partitions, this also can be > optimized. -- This message was sent by Atlassian Jira (v8.20.1#820001)