Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

Next:From: Brian HerlihyDate: 2008-01-17 09:16:40
Subject: Re: strange pauses
Previous:From: Greg SmithDate: 2008-01-16 15:37:58
Subject: Re: strange pauses

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group