Re: strange pauses

From: Adrian Moisey <adrian(at)careerjunction(dot)co(dot)za>
To: Greg Smith <gsmith(at)gregsmith(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: strange pauses
Date: 2008-01-17 06:50:24
Message-ID: 478EFAB0.30205@careerjunction.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi

>> 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.
>
> The most straightforward way to prove or disprove that the slow queries
> line up with checkpoints is to set to checkpoint_warning to a high value
> (3600 should work), which should log every checkpoint, and then see if
> they show up at the same time in the logs.

You guys were spot on. During these pauses the IO goes up high.

I've got the following set:
checkpoint_timeout = 5min
checkpoint_warning = 3600s

log_min_messages = info

But I see nothing in the logs about checkpoints

--
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 Brian Herlihy 2008-01-17 09:16:40 Re: strange pauses
Previous Message Greg Smith 2008-01-16 15:37:58 Re: strange pauses