Thanks to visit codestin.com
Credit goes to github.com

Skip to content

pg-pool v2.0.10 not compatible with pg prior to v7.5.0 causing major performance regression #3463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
arobincaron opened this issue May 12, 2025 · 1 comment

Comments

@arobincaron
Copy link

pg-pool v2.0.10 inspects the client _querable attribute. This attribute was not added until pg v7.5.0. Unfortunately pg versions prior to 7.5.0 do not block 2.0.10. The impact of this is that pg-pool v2.0.10 releasing a client connection with that attribute missing causes the client to be removed rather than released. The performance impact on removing postgres client connections instead of keeping them in the pool is extremely significant. For example postgres CPU utilization increased 6x over a 30 minute workload simulation resulting in 10x increase in execution times of most postgres query/commands.

I understand that this is present only in older versions and is fixed by newer versions of pg but it should be documented or blocked if possible as the possible symptoms -- extremely high postgres CPU utilization can take considerable time to narrow down (multiple weeks in my case).

@brianc
Copy link
Owner

brianc commented May 12, 2025

Yeah I think this issue serves as enough documentation. Since pg 8.0 came out 5 years ago I'm not gonna invest much time in supporting a piece of software I released more than 5 years ago. Sorry you hit an issue with it. Would recommend upgrading to 8.x line if at all possible...it has some serious performance gains in general within it too; its very much worth it to upgrade if you can!

@brianc brianc closed this as completed May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants