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: [email protected]
