将PGBOUNCER与Session Pool模式与实体框架默认合并有什么好处?
我目前正在将Azure VM上安装的PostgreSQL迁移到Azure Postgres灵活服务器。优点之一是能够使用PGBOUNCER,不幸的是,在我的情况下,由于使用了准备的语句,因此无法使用事务池模式。
因此,我的问题是,与使用实体框架使用默认池相比,使用PGBOUNCER与POMING模式会话有任何优势?
I am currently migrating Postgresql installed on an Azure VM to Azure Postgres Flexible Server. One of the advantages is the ability to use PgBouncer, unfortunately in my case it is not possible to use Transaction pooling mode, due to the use of prepared statements.
Hence my question is, are there any advantages to using PgBouncer with pooling mode Session compared to using default pooling with Entity Framework?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论