You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Zheaoli (via GitHub)" <gi...@apache.org> on 2023/09/25 04:42:55 UTC
[GitHub] [incubator-opendal] Zheaoli opened a new issue, #3173: Remove prepared statement cache in Postgresql service
Zheaoli opened a new issue, #3173:
URL: https://github.com/apache/incubator-opendal/issues/3173
https://github.com/apache/incubator-opendal/blob/main/core/src/services/postgresql/backend.rs#L215-L217
For now, we cache the prepared statement for the PostgreSQL service. But there would be some problems; I will describe it the following below
In MySQL/PostgreSQL, the prepared statement is always binding with the connection. If we choose to cache the statement for each type of action (get/set/delete), the whole type of action will share just one connection globally. I think it would cause performance issues and correct issues.
--
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: commits-unsubscribe@opendal.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-opendal] Zheaoli closed issue #3173: Remove prepared statement cache in Postgresql service
Posted by "Zheaoli (via GitHub)" <gi...@apache.org>.
Zheaoli closed issue #3173: Remove prepared statement cache in Postgresql service
URL: https://github.com/apache/incubator-opendal/issues/3173
--
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: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org