Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 3EAF94768DF for ; Wed, 19 Jun 2002 14:56:28 -0400 (EDT) Received: from oscar.eng.cv.net (oscar.eng.cv.net [167.206.9.141]) by postgresql.org (Postfix) with ESMTP id 2B528476FBB for ; Wed, 19 Jun 2002 14:11:12 -0400 (EDT) Received: (from marc@localhost) by oscar.eng.cv.net (8.11.6/8.11.6) id g5JI47h92777 for pgsql-admin@postgresql.org; Wed, 19 Jun 2002 14:04:07 -0400 (EDT) (envelope-from marc) Date: Wed, 19 Jun 2002 14:04:07 -0400 From: Marc Spitzer To: pgsql-admin@postgresql.org Subject: Re: index keeps on growing Message-ID: <20020619140407.A92750@oscar.eng.cv.net> Mail-Followup-To: pgsql-admin@postgresql.org References: <20020619090900.082ec544.jc.arnu@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020619090900.082ec544.jc.arnu@free.fr>; from jc.arnu@free.fr on Wed, Jun 19, 2002 at 09:09:00AM +0000 X-Archive-Number: 200206/145 X-Sequence-Number: 4579 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