Re: multiple apaches against single postgres database

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> On Wed, Oct 24, 2007 at  7:15 AM, in message
<471F3752.8070205@xxxxxxxxxxxxxxxxxxxxxxxxxx>, Honza Novak
<kacerr@xxxxxxxxxxxxxxxxxxxxxxxxxx> 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
 



---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux