pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Kristian Eide <kreide@online.no>
Cc: Ken Corey <ken@kencorey.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: VACUUM not doing its job?
Date: Sat, 03 Aug 2002 16:02:05 -0700
Message-ID: <3D4C60ED.7060402@joeconway.com> (raw)
References: <035d01c23b2f$c5d49420$6b97f181@speed>
	<1028412884.28635.22.camel@kenlinux.bithub.org>
	<037901c23b3e$d542a140$6b97f181@speed>

Kristian Eide wrote:
> This is not good as the database is in use 24/7, and without the indexes
> everything comes to a screeching halt. This means I probably will have to
> stop the programs using the database for the time it takes to re-create the
> indexes; this is better than having to dump/restore everything however :)

Try REINDEX. I don't think that precludes (at least) read access.
   http://www.postgresql.org/idocs/index.php?sql-reindex.html

You should also search the archives for threads on free space maps. You 
most likely need to increase yours. In particular, see:
   http://archives.postgresql.org/pgsql-general/2002-07/msg00972.php

HTH,

Joe




view thread (9+ messages)  latest in thread

Message-ID: <3D4C60ED.7060402@joeconway.com>
Permalink:  ../3D4C60ED.7060402@joeconway.com/
Also on:    postgresql.org/message-id/3D4C60ED.7060402@joeconway.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-sql@postgresql.org
  Cc: mail@joeconway.com, kreide@online.no, ken@kencorey.com
  Subject: Re: VACUUM not doing its job?
  In-Reply-To: <3D4C60ED.7060402@joeconway.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