Re: what could cause inserts getting queued up and db locking?? - Mailing list pgsql-general

From Richard Huxton
Subject Re: what could cause inserts getting queued up and db locking??
Date
Msg-id 417E0EB6.9080801@archonet.com
Whole thread Raw
In response to what could cause inserts getting queued up and db locking??  ("Brian Maguire" <bmaguire@vantage.com>)
List 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 by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Theory!!
Next
From: Richard Huxton
Date:
Subject: Re: Strange count(*) implementation?