From: Adrian Moisey <adrian@careerjunction.co.za>
To: Greg Smith <gsmith@gregsmith.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: strange pauses
Date: Thu, 17 Jan 2008 08:50:24 +0200
Message-ID: <478EFAB0.30205@careerjunction.co.za> (raw)
In-Reply-To: <Pine.GSO.4.64.0801161030260.16621@westnet.com>
References: <478DDF83.8070106@careerjunction.co.za>
<478DE16F.50308@archonet.com>
<Pine.GSO.4.64.0801161030260.16621@westnet.com>
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@careerjunction.co.za
Phone: +27 21 686 6820 | Mobile: +27 82 858 7830 | Fax: +27 21 686 6842
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: adrian@careerjunction.co.za, gsmith@gregsmith.com
Subject: Re: strange pauses
In-Reply-To: <478EFAB0.30205@careerjunction.co.za>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox