Re: Quad Opteron stuck in the mud

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Quad Opteron stuck in the mud
Дата
Msg-id 20050713201817.GA5450@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Quad Opteron stuck in the mud  (Dan Harris <fbsd@drivefaster.net>)
Список pgsql-performance
On Wed, Jul 13, 2005 at 01:16:25PM -0600, Dan Harris wrote:

> On Jul 13, 2005, at 1:11 PM, John A Meinel wrote:
>
> >I might be wrong, but there may be something much more substantially
> >wrong than slow i/o.
>
> Yes, I'm afraid of that too.  I just don't know what tools I should
> use to figure that out.  I have some 20 other databases on this
> system, same schema but varying sizes, and the small ones perform
> very well.  It feels like there is an O(n) increase in wait time that
> has recently become very noticeable on the largest of them.

I'd guess it's stuck on some lock.  Try that EXPLAIN, and when it
blocks, watch the pg_locks view for locks not granted to the process
executing the EXPLAIN.  Then check what else is holding the locks.

--
Alvaro Herrera (<alvherre[a]alvh.no-ip.org>)
"La rebeldía es la virtud original del hombre" (Arthur Schopenhauer)

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Quad Opteron stuck in the mud
Следующее
От: Dan Harris
Дата:
Сообщение: Re: Quad Opteron stuck in the mud