Re: DB connection issue suggestions

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема Re: DB connection issue suggestions
Дата
Msg-id 20220513040827.GQ19626@telsasoft.com
обсуждение исходный текст
Ответ на Re: DB connection issue suggestions  (Sudhir Guna <sudhir.guna.sg@gmail.com>)
Список pgsql-performance
If the problem occurs gradually (like leaking 20 connections per hour during
ETL), you can check pg_stat_activity every hour or so to try to observe the
problem before all the connection slots are used up, to collect diagnostic
information.

Alternately, leave a connection opened to the DB and wait until all connection
slots *are* used up, and then check pg_stat_activity.  That will take longer,
and you'll have more information to weed through.

What messages are in the server's log ?

v11.2 is years old and hundreds of bugfixes behind.  Since you ran into this
problem anyway, why not run 11.16, which was released today ?

How did you install postgres 11 ?  From source or from packages ?  Which
packages ?  The semi-official PGDG RPM packages are available here:
https://yum.postgresql.org/

-- 
Justin



В списке pgsql-performance по дате отправления:

Предыдущее
От: Sudhir Guna
Дата:
Сообщение: Re: DB connection issue suggestions
Следующее
От: "Kumar, Mukesh"
Дата:
Сообщение: Need help on Query Tunning and Not using the Index Scan