Re: DB sessions 100 times of DB connections

Поиск
Список
Период
Сортировка
От Huang, Suya
Тема Re: DB sessions 100 times of DB connections
Дата
Msg-id D83E55F5F4D99B4A9B4C4E259E6227CD014B3742@AUX1EXC01.apac.experian.local
обсуждение исходный текст
Ответ на DB sessions 100 times of DB connections  ("Huang, Suya" <Suya.Huang@au.experian.com>)
Ответы Re: DB sessions 100 times of DB connections  (Steve Crawford <scrawford@pinpointresearch.com>)
Список pgsql-performance

BTW, I’m using the pgbadger report to check for peak connections/sessions.

 

From: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Huang, Suya
Sent: Friday, July 04, 2014 11:44 AM
To: pgsql-performance@postgresql.org
Subject: [PERFORM] DB sessions 100 times of DB connections

 

Hi,

 

We’ve experienced a DB issue yesterday and after checked the log found that the peak sessions is 3000 while the peak DB connections is only around 30. The application is having problem of pulling data but no warnings in DB log as it doesn’t exceed max_connections.

 

 

How could this happen? How does sessions/connections work in Postgres?

 

Thanks,

Suya

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

Предыдущее
От: "Huang, Suya"
Дата:
Сообщение: DB sessions 100 times of DB connections
Следующее
От: piuschan
Дата:
Сообщение: stored procedure suddenly runs slowly in HOT STANDBY but fast in primary