Re: Performance bottleneck. High active sessions but postmaster kernel threads are in a sleep state, low CPU utilization

Поиск
Список
Период
Сортировка
От Hotmail
Тема Re: Performance bottleneck. High active sessions but postmaster kernel threads are in a sleep state, low CPU utilization
Дата
Msg-id BYAPR06MB4023DC744EFE7E1E55BA41C0D77C9@BYAPR06MB4023.namprd06.prod.outlook.com
обсуждение исходный текст
Ответ на Re: Performance bottleneck. High active sessions but postmaster kernel threads are in a sleep state, low CPU utilization  (Laurenz Albe <laurenz.albe@cybertec.at>)
Ответы Re: Performance bottleneck. High active sessions but postmaster kernel threads are in a sleep state, low CPU utilization  (Hotmail <crajac66@hotmail.com>)
Список pgsql-admin
Unfortunately, the wait_event and wait_event_type columns are all NULL for these active sessions. 

Craig
On Mar 31, 2021, 3:47 AM -0600, Laurenz Albe <laurenz.albe@cybertec.at>, wrote:
On Tue, 2021-03-30 at 12:22 -0600, Hotmail wrote:
We are trying to gain some insight into a performance bottleneck that we are hitting while load testing Postgres on 11.11.
[hundreds of active sessions, but CPU is not maxed out]

With that many active sessions you are probably hitting some contention inside
the database. Look at "wait_event" and "wait_event_type" in pg_stat_activity.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

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

Предыдущее
От: Holger Jakobs
Дата:
Сообщение: Re: work_mem
Следующее
От: Hotmail
Дата:
Сообщение: Re: Performance bottleneck. High active sessions but postmaster kernel threads are in a sleep state, low CPU utilization