pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc Spitzer <marc@oscar.eng.cv.net>
To: pgsql-admin@postgresql.org
Subject: Re: index keeps on growing
Date: Wed, 19 Jun 2002 14:04:07 -0400
Message-ID: <20020619140407.A92750@oscar.eng.cv.net> (raw)
In-Reply-To: <20020619090900.082ec544.jc.arnu@free.fr>
References: <20020619090900.082ec544.jc.arnu@free.fr>

On Wed, Jun 19, 2002 at 09:09:00AM +0000, Jean-Christophe ARNU wrote:
> Hello all,
>  	I've a hard working pgsql db running on 7/7x365 server. Each night
> (when
>  activity is less intensive) I run vacuum and vacuum analyze on tables where
>  principal activity is performed.
>  	Tables are cleaned (files sizes are decreasing), but indices files
> keeps on
>  growing in size....
> 
>  	I run PgSQL 7.1.3, I cannot upgrade (immediately) to 7.2.x... So what
> can I
>  do to keep these indices' size at a constant and reasonnable size?
> 
>  	Thanks a lot

As far as I know there are 2 ways to do this:
1: the command "reindex table_name" to rebuild all your indexes on a table,
I think it locks the table
2: drop and recreate the indexes by hand

marc

ps the first time you reindex it can take a long time.


> 
> 
> -- 
> Jean-Christophe ARNU
> s/w developer 
> Paratronic France
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly



view thread (9+ messages)  latest in thread

Message-ID: <20020619140407.A92750@oscar.eng.cv.net>
Permalink:  ../20020619140407.A92750@oscar.eng.cv.net/
Also on:    postgresql.org/message-id/20020619140407.A92750@oscar.eng.cv.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: marc@oscar.eng.cv.net
  Subject: Re: index keeps on growing
  In-Reply-To: <20020619140407.A92750@oscar.eng.cv.net>
  References: <20020619090900.082ec544.jc.arnu@free.fr> <20020619140407.A92750@oscar.eng.cv.net>

* 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