FlyingZC commented on PR #21207:
URL: https://github.com/apache/shardingsphere/pull/21207#issuecomment-1286716195

   By the pr https://github.com/apache/shardingsphere/pull/21207. It guarantees 
that one transaction on a dataSource use the same connection, but may cause 
more memory consumption, because due to the limit of the number of connections, 
it may cause that streaming loading cannot be used, and memory loading is used.
   It is difficult to choose between the two(one connection in trasaction to 
enable ACID or more connections to avoid memory consumption), which may require 
more design, but perhaps users can make their own trade-offs. When user 
configures this parameter `max-connections-size-per-query`, he should be aware 
of the possible advantages and disadvantages.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to