Re: strange pauses

From: Adrian Moisey <adrian(at)careerjunction(dot)co(dot)za>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: strange pauses
Date: 2008-01-18 10:58:06
Message-ID: 4790863E.4000309@careerjunction.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi

>> 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.

We use a lot of checkpoints in our database, we don't care about these
much. We think this is causing the checkpoint to write a lot of data at
checkpoint time. Can we stop this behavior ?

--
Adrian Moisey
System Administrator | CareerJunction | Your Future Starts Here.
Web: www.careerjunction.co.za | Email: adrian(at)careerjunction(dot)co(dot)za
Phone: +27 21 686 6820 | Mobile: +27 82 858 7830 | Fax: +27 21 686 6842

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Adrian Moisey 2008-01-18 12:03:03 Re: strange pauses
Previous Message Steinar H. Gunderson 2008-01-17 23:30:55 Re: [OT] RAID controllers blocking one another?