pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jean-Christophe ARNU (JX) <jc.arnu@free.fr>
To: pgsql-admin@postgresql.org
Subject: Index file size keeps on growing.....
Date: Thu, 23 May 2002 06:40:53 -0100
Message-ID: <20020523064053.1a99b535.jc.arnu@free.fr> (raw)

Hi all,
	I'm in front of a real problem (from my point of view). I have some tables
with a lot of update insert and delete (24/7). These tables have multiples
indexes. Major part of Insert commands are performed as bulk at 00:00:00. I'm
doing Vaccum and then a vacuum analyze to clean tables (well done) and update
indexes (also performed) BUT index are not "cleaned" in the way their size
keeps on growing in size... 
	The real problem is that I have tables that takes about 20MB each and index
around 190MB (for some of them). The only way I found to reduce index file
size is to destroy the incriminated indexes and recreate, praying for select
not to happen between drop and create operation (I cannot afford table
lock)...

	So is this a correct Postgres Behaviour?
	Do I have a neat way to make my index keep a reasonnable size?
	Did I missed something in the config file and/or with the vacuum commands?

Thanks for any clue!!

-- 
Jean-Christophe ARNU
s/w developer 
Paratronic France



view thread (2+ messages)  latest in thread

Message-ID: <20020523064053.1a99b535.jc.arnu@free.fr>
Permalink:  ../20020523064053.1a99b535.jc.arnu@free.fr/
Also on:    postgresql.org/message-id/20020523064053.1a99b535.jc.arnu@free.fr

 · 

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: jc.arnu@free.fr
  Subject: Re: Index file size keeps on growing.....
  In-Reply-To: <20020523064053.1a99b535.jc.arnu@free.fr>
  References: <20020523064053.1a99b535.jc.arnu@free.fr>

* 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