Re: strange pauses - Mailing list pgsql-performance

From Richard Huxton
Subject Re: strange pauses
Date
Msg-id 478DE16F.50308@archonet.com
Whole thread Raw
In response to strange pauses  (Adrian Moisey <adrian@careerjunction.co.za>)
Responses Re: strange pauses
Re: strange pauses
Re: strange pauses
List pgsql-performance
Adrian Moisey wrote:
>
> If I tail the logs, I see a steady stream of functions that took longer
> then 5 seconds.  But every now and then I see nothing for 3 minutes and
> after that a whole bunch (about 20 - 30) queries all finishing at the
> same second.

Search this list for references to "checkpoints". If you run
vmstat/iostat for a bit you should see bursts of disk activity at those
times.

Counter-intuitively you probably want *more* checkpoints (with less data
to write out each time), but see the list archives for discussion. Also
check the manuals for some background info.

HTH

--
   Richard Huxton
   Archonet Ltd

pgsql-performance by date:

Previous
From: Adrian Moisey
Date:
Subject: strange pauses
Next
From: Tom Lane
Date:
Subject: Re: strange pauses