Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id C749947614D for ; Sun, 26 May 2002 06:29:34 -0400 (EDT) Received: from mail-relay.trade-india.com (mail-relay.trade-india.com [203.196.129.235]) by postgresql.org (Postfix) with SMTP id E99EF475F2A for ; Sun, 26 May 2002 06:28:14 -0400 (EDT) Received: (qmail 9896 invoked from network); 26 May 2002 10:22:06 -0000 Received: from system29.trade-india-local.com (HELO server) (192.168.0.29) by ptil-236-129-del.primus-india.net with SMTP; 26 May 2002 10:22:06 -0000 Content-Type: text/plain; charset="iso-8859-1" From: "Rajesh Kumar Mallah." Organization: Infocom Network Limited. To: Jean-Christophe ARNU (JX) , pgsql-admin@postgresql.org Subject: Re: Index file size keeps on growing..... Date: Sun, 26 May 2002 15:58:18 +0530 X-Mailer: KMail [version 1.4] References: <20020523064053.1a99b535.jc.arnu@free.fr> In-Reply-To: <20020523064053.1a99b535.jc.arnu@free.fr> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200205261558.18583.mallah@trade-india.com> X-Archive-Number: 200205/216 X-Sequence-Number: 4391 Hi Jean, Have you tried REINDEX? what version of postgresql is it? regds mallah. On Thursday 23 May 2002 01:10 pm, Jean-Christophe ARNU (JX) wrote: > Hi all, > I'm in front of a real problem (from my point of view). I have some tabl= es > 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 ind= ex > 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 command= s? > > Thanks for any clue!! --=20 Rajesh Kumar Mallah, Project Manager (Development) Infocom Network Limited, New Delhi phone: +91(11)6152172 (221) (L) ,9811255597 (M) Visit http://www.trade-india.com , India's Leading B2B eMarketplace.