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

From: Richard Huxton <dev(at)archonet(dot)com>
To: Brian Maguire <bmaguire(at)vantage(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: what could cause inserts getting queued up and db locking??
Date: 2004-10-26 08:45:42
Message-ID: 417E0EB6.9080801@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2004-10-26 08:53:39 Re: Strange count(*) implementation?
Previous Message Richard Huxton 2004-10-26 08:38:48 Re: Theory!!