Re: multiple apaches against single postgres database - Mailing list pgsql-performance

From Kevin Grittner
Subject Re: multiple apaches against single postgres database
Date
Msg-id 471F390A.EE98.0025.0@wicourts.gov
Whole thread Raw
In response to multiple apaches against single postgres database  (Honza Novak <kacerr@developers.zlutazimnice.cz>)
List pgsql-performance
>>> On Wed, Oct 24, 2007 at  7:15 AM, in message
<471F3752.8070205@developers.zlutazimnice.cz>, Honza Novak
<kacerr@developers.zlutazimnice.cz> wrote:

> But sometimes (i don't know exactly for what reason) some queries gets
> stuck (mostly they are inserts or updates, but realy simple) and
> postgres is unable to answer in time

In addition to the points made by others, there is a chance that a
contributing factor is the tendency of PostgreSQL (prior to the
upcoming 8.3 release) to hold onto dirty pages for as long as
possible and throw them all at the disk drives in at checkpoint
time.  In some such cases the advice from previous emails may not
be enough -- you may have to use very aggressive background writer
settings, a smaller shared buffers setting, and/or reduce or
eliminate the OS write delays.

If you find this to be your problem, you may want to be an early
adopter of the 8.3 release, once it is out.

-Kevin




pgsql-performance by date:

Previous
From: Sven Geisler
Date:
Subject: Re: multiple apaches against single postgres database
Next
From: Tatsuo Ishii
Date:
Subject: Re: multiple apaches against single postgres database