pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Seum-Lim Gan <slgan@lucent.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: index file bloating still in 7.4 ?
Date: Mon, 20 Oct 2003 17:25:13 -0400
Message-ID: <15841.1066685113@sss.pgh.pa.us> (raw)
In-Reply-To: <p0510030cbbb9ff79c606@[192.168.10.52]>
References: <p0510030cbbb7667a7f87@[192.168.10.52]>
	<19692.1066578442@sss.pgh.pa.us>
	<p05100318bbb86e62801a@[192.168.10.52]>
	<200310191204.23888.josh@agliodbs.com>
	<p05100307bbb9b21e995f@[192.168.10.52]>
	<p0510030cbbb9ff79c606@[192.168.10.52]>

Seum-Lim Gan <slgan@lucent.com> 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



view thread (18+ messages)  latest in thread

Message-ID: <15841.1066685113@sss.pgh.pa.us>
Permalink:  ../15841.1066685113@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15841.1066685113@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, slgan@lucent.com, josh@agliodbs.com
  Subject: Re: index file bloating still in 7.4 ?
  In-Reply-To: <15841.1066685113@sss.pgh.pa.us>

* 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