pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <gsmith@gregsmith.com>
Cc: Adrian Moisey <adrian@careerjunction.co.za>
Cc: pgsql-performance@postgresql.org
Subject: Re: strange pauses
Date: Wed, 16 Jan 2008 10:37:58 -0500 (EST)
Message-ID: <Pine.GSO.4.64.0801161030260.16621@westnet.com> (raw)
In-Reply-To: <478DE16F.50308@archonet.com>
References: <478DDF83.8070106@careerjunction.co.za>
	<478DE16F.50308@archonet.com>

On Wed, 16 Jan 2008, Richard Huxton wrote:

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

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD



view thread (14+ messages)  latest in thread

Message-ID: <Pine.GSO.4.64.0801161030260.16621@westnet.com>
Permalink:  ../Pine.GSO.4.64.0801161030260.16621@westnet.com/
Also on:    postgresql.org/message-id/Pine.GSO.4.64.0801161030260.16621@westnet.com

 · 

reply

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: gsmith@gregsmith.com, adrian@careerjunction.co.za
  Subject: Re: strange pauses
  In-Reply-To: <Pine.GSO.4.64.0801161030260.16621@westnet.com>

* 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