pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joshua D. Drake <jd@commandprompt.com>
To: Vinubalaji Gopal <vgopal@abaca.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: vacuum in Postgresql 8.0.x slowing down the database
Date: Wed, 26 Mar 2008 13:02:13 -0700
Message-ID: <20080326130213.3797bfe1@jd-laptop> (raw)
In-Reply-To: <20080326124956.49e1c13d@vinu-ubuntu.abaca>
References: <20080326124956.49e1c13d@vinu-ubuntu.abaca>

On Wed, 26 Mar 2008 12:49:56 -0800
Vinubalaji Gopal <vgopal@abaca.com> wrote:

> The big table has never been reindexed and has a primary, unique key
> with btree index and one foreign key constraint.

The slowness is likely attributed to Vacuum's use of I/O. When vacuum
is running what does iostat -k 10 say?

Joshua D. Drake



-- 
The PostgreSQL Company since 1997: http://www.commandprompt.com/ 
PostgreSQL Community Conference: http://www.postgresqlconference.org/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL SPI Liaison | SPI Director |  PostgreSQL political pundit

Attachments:

  signature.asc (application/pgp-signature, 188B) download

view thread (3+ messages)  latest in thread

Message-ID: <20080326130213.3797bfe1@jd-laptop>
Permalink:  ../20080326130213.3797bfe1@jd-laptop/
Also on:    postgresql.org/message-id/20080326130213.3797bfe1@jd-laptop

 · 

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: jd@commandprompt.com, vgopal@abaca.com
  Subject: Re: vacuum in Postgresql 8.0.x slowing down the database
  In-Reply-To: <20080326130213.3797bfe1@jd-laptop>

* 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