TedCraft opened a new issue, #37274: URL: https://github.com/apache/shardingsphere/issues/37274
## Feature Request **For English only**, other languages will not be accepted. Please pay attention on issues you submitted, because we maybe need more details. If no response anymore and we cannot make decision by current information, we will **close it**. Please answer these questions before submitting your issue. Thanks! ### Is your feature request related to a problem? In MySQL and PostgreSQL, reused prepared statements are managed efficiently through the internal JDBC driver cache. However, the Firebird JDBC driver lacks this caching capability. As a result, when a user executes a prepared statement multiple times, ShardingSphere repeatedly performs the costly 'prepare' operation, rather than executing it just once using a cached statement. ### Describe the feature you would like. I propose adding a caching mechanism for prepared statements in the proxy, similar to how it is implemented in the JDBC driver. I currently have the necessary changes in my fork, but before creating a pull request, I would like to hear the community's opinion on this feature. My implementation modifies some of the core proxy code (though it does not affect the execution logic for MySQL and PostgreSQL) and might not be strictly necessary for databases that already have client-side caching in their drivers. However, in the future, this may be useful for databases without this built-in feature. -- 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]
