Pavlo Golub:在PostgreSQL 16中保留连接

Reserve connections for the pg_use_reserved_connections group in PostgreSQL 16 Nathan Bossart implemented a brand-new patch that provides a way to reserve connection slots for...

Nathan Bossart实现了一个全新的补丁,为非超级用户提供了一种保留连接槽的方法,由Robert Haas提交并审核通过。新的GUC只能被拥有pg_use_reserved_connections预定义角色的用户使用,superuser_reserved_connections作为最终保留以防reserved_connections耗尽。新特性可以让一些连接比其他连接更加重要,可以用来备份和监控,而不需要使用超级用户连接。另外,连接池也是一个相关的话题,可以使用pgbouncer来实现连接池。

Pavlo Golub:在PostgreSQL 16中保留连接
原文英文,约500词,阅读约需2分钟。发表于:
阅读原文