X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 7E058D1B510 for ; Mon, 20 Oct 2003 21:25:49 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 14580-02 for ; Mon, 20 Oct 2003 18:25:20 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 7E875D1B501 for ; Mon, 20 Oct 2003 18:25:17 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h9KLPDit015842; Mon, 20 Oct 2003 17:25:13 -0400 (EDT) To: Seum-Lim Gan Cc: Josh Berkus , pgsql-performance@postgresql.org Subject: Re: index file bloating still in 7.4 ? In-reply-to: References: <19692.1066578442@sss.pgh.pa.us> <200310191204.23888.josh@agliodbs.com> Comments: In-reply-to Seum-Lim Gan message dated "Mon, 20 Oct 2003 16:14:09 -0500" Date: Mon, 20 Oct 2003 17:25:13 -0400 Message-ID: <15841.1066685113@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/516 X-Sequence-Number: 4264 Seum-Lim Gan writes: > We tried one more thing: with the table not being updated > at all and we did vacuum. Each time a vacuum is done, > the index file becomes bigger. It is not possible for plain vacuum to make the index bigger. VACUUM FULL possibly could make the index bigger, since it has to transiently create duplicate index entries for every row it moves. If you want any really useful comments on your situation, you're going to have to offer considerably more detail than you have done so far --- preferably, a test case that lets someone else reproduce your results. So far, all we can do is guess on the basis of very incomplete information. When you aren't even bothering to mention whether a vacuum is FULL or not, I have to wonder whether I have any realistic picture of what's going on. regards, tom lane