Re: strange pauses

From: Richard Huxton <dev(at)archonet(dot)com>
To: Adrian Moisey <adrian(at)careerjunction(dot)co(dot)za>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: strange pauses
Date: 2008-01-16 10:50:23
Message-ID: 478DE16F.50308@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2008-01-16 15:23:06 Re: strange pauses
Previous Message Adrian Moisey 2008-01-16 10:42:11 strange pauses