Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id D8FB9475A10 for ; Thu, 23 May 2002 03:42:58 -0400 (EDT) Received: from mel-rto3.wanadoo.fr (smtp-out-3.wanadoo.fr [193.252.19.233]) by postgresql.org (Postfix) with ESMTP id 859A747599D for ; Thu, 23 May 2002 03:42:56 -0400 (EDT) Received: from mel-rta8.wanadoo.fr (193.252.19.79) by mel-rto3.wanadoo.fr (6.5.007) id 3CE586440027CFBE for pgsql-admin@postgresql.org; Thu, 23 May 2002 09:42:57 +0200 Received: from ez (217.128.2.234) by mel-rta8.wanadoo.fr (6.5.007) id 3CE5683C0026A411 for pgsql-admin@postgresql.org; Thu, 23 May 2002 09:42:57 +0200 Date: Thu, 23 May 2002 06:40:53 -0100 From: Jean-Christophe ARNU (JX) To: pgsql-admin@postgresql.org Subject: Index file size keeps on growing..... Message-Id: <20020523064053.1a99b535.jc.arnu@free.fr> Organization: IUX X-Mailer: Sylpheed version 0.7.6 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200205/183 X-Sequence-Number: 4358 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