by kcolford · 6y ago · 0 comments
https://www.postgresql.org/message-id/flat/20200301083601.ew...
This should be either in Postgres 13 or 14, not sure how they decided in the end.
Obviously, it'd be great to get those patches in, but there's always the risk of pushing something that may not be quite ready yet, did not go through sufficient review etc. Which might disrupt the whole release schedule, make the stabilization phase longer, etc. And all the lockdowns around the world just amplify the risk. There's also the question whether it's worth breaking the rules the project adopted over the years. Considering all this, it probably makes sense to leave this for v14 ...
But yeah, it'd be great to have this in v13, had it been ready before the code freeze.
There's an awful lot of applications designed with the idea that connections are cheap. And on some databases it's actually true.
But it's also about hardware - machines with hundreds of cores are getting quite common, applications have "think time" so you need to use a multiple of core count to saturate the CPU, etc.
Currently the limit is probably "low hundreds" depending on the workload (the shorter/cheaper the transactions, the worse). Connection pools are great, but unfortunately not really a universal solution.
[1] https://www.postgresql.org/message-id/flat/20200301083601.ew...