Re: what does pg_activity mean when the database is stuck?

Поиск
Список
Период
Сортировка
От Ciba Sadaf
Тема Re: what does pg_activity mean when the database is stuck?
Дата
Msg-id CABoP_emM2hvakKBb0BiBhdPtWO_5W5L=eu95c4Fcu7aw-vK=9g@mail.gmail.com
обсуждение исходный текст
Ответ на what does pg_activity mean when the database is stuck?  (Si Chen <sichen@opensourcestrategies.com>)
Список pgsql-general

Dnt have any unfrmtn

On 11-Jun-2014 9:30 PM, "Si Chen" <sichen@opensourcestrategies.com> wrote:
I have a problem where postgresql 9.3 got stuck, and the number of postgresql processes increased from about 15 to 225 in 10 minutes.

I ran the query:
select pid, query_start, waiting, state, query from pg_stat_activity order by query_start;

But it showed mostly select statements -- all of them the same one, with a couple of joins.  They are not in a waiting state but have been running for over 2 hours.  

I also checked for locks with the query on

But it returned no locked tables.

So what does this mean?  Is the select query getting stuck?  
--
Si Chen
Open Source Strategies, Inc.
sichen@opensourcestrategies.com
http://www.OpenSourceStrategies.com
LinkedIn: http://www.linkedin.com/in/opentaps
Twitter: http://twitter.com/opentaps

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

Предыдущее
От: Si Chen
Дата:
Сообщение: what does pg_activity mean when the database is stuck?
Следующее
От: boca2608
Дата:
Сообщение: Cannot start Postgresql 9.3 as a service in Windows 2012 Server with a domain account