Re: what could cause inserts getting queued up and db locking??

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: what could cause inserts getting queued up and db locking??
Дата
Msg-id 417E0EB6.9080801@archonet.com
обсуждение исходный текст
Ответ на what could cause inserts getting queued up and db locking??  ("Brian Maguire" <bmaguire@vantage.com>)
Список pgsql-general
Brian Maguire wrote:
>
> What could cause the database to lock up and queue up all the
> queries?

You'll want to check the lock details (pg_locks: see "Monitoring
Database Activity" in the reference manuals) and also what the system as
a whole is doing (vmstat/iostat).

I seem to recall some configuration of ext3 could cause bursts of
activity with certain write patterns, but don't recall PG being affected
by this.

There have been discussions of context-switching issues with Xeons IIRC
- don't know the details, so check the -performance/hackers archives for
details.

HTH
--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Theory!!
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Strange count(*) implementation?