Replies: 7 comments
-
nowoptimize |
Beta Was this translation helpful? Give feedback.
-
select * from order limit 10,10 ,now has 20rows for every node,memory is large |
Beta Was this translation helpful? Give feedback.
-
Hi @xuejmnet I like this optimization, it seems to be effective in reducing memory usage. But this optimization may require a lot of code adjustments, because at present, the results of all nodes are queried first, and then merged. To achieve this optimization, execution and merging need to be processed together. |
Beta Was this translation helpful? Give feedback.
-
I'm looking forward to ShardingSphere better :) |
Beta Was this translation helpful? Give feedback.
-
@xuejmnet Thank you. We will try our best to optimize performance, and you are welcome to participate in the community. |
Beta Was this translation helpful? Give feedback.
-
Hello , this issue has not received a reply for several days. |
Beta Was this translation helpful? Give feedback.
-
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. |
Beta Was this translation helpful? Give feedback.
-
is one node sql query result,but if this group has more than one query parallel,sub node parallel should use stream query result,if use memory query result in page query,
limit 10,10
will rewritelimit 0,20
if parallel query result use memory result not stream query result,memory will has more than scan rows.for example:sql.skip(10).take(10)
in one data base 2 table will route, if ConnectionMode is CONNECTION_STRICTLY sharding sphere will use MemoryQueryResult, memory has 40 total rows,so ConnectionMode is CONNECTION_STRICTLY still use StreamResult,but with other connection parallel result should combine
Beta Was this translation helpful? Give feedback.
All reactions