You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/06/24 10:15:26 UTC

[GitHub] [shardingsphere] TeslaCN opened a new issue #10989: Make fetch size configurable when connection mode is MEMORY_STRICTLY

TeslaCN opened a new issue #10989:
URL: https://github.com/apache/shardingsphere/issues/10989


   ## Feature Request
   
   ### Is your feature request related to a problem?
   
   When connection mode in Proxy is `MEMORY_STRICTLY`, statement's fetch size will be set to the minimum value, which makes the data  from backend database to the proxy are retrieved row-by-row.
   
   For instance, the client `setFetchSize(1000)`, but connection mode in the Proxy is `MEMORY_STRICTLY`, the Proxy will fetch 1000 times from backend database.
   
   https://github.com/apache/shardingsphere/blob/69ddd41f4d46be27e766c67eaaa7eb4459f44a5b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/statement/impl/MySQLStatementMemoryStrictlyFetchSizeSetter.java#L32
   
   https://github.com/apache/shardingsphere/blob/69ddd41f4d46be27e766c67eaaa7eb4459f44a5b/shardingsphere-proxy/shardingsphere-proxy-backend/src/main/java/org/apache/shardingsphere/proxy/backend/communication/jdbc/statement/impl/PostgreSQLStatementMemoryStrictlyFetchSizeSetter.java#L32
   
   ### Describe the feature you would like.
   
   Consider making the fetch size configurable.


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere] tristaZero closed issue #10989: Make fetch size configurable when connection mode is MEMORY_STRICTLY

Posted by GitBox <gi...@apache.org>.
tristaZero closed issue #10989:
URL: https://github.com/apache/shardingsphere/issues/10989


   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org