Re: Index relation size - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: Index relation size
Date
Msg-id 1098751473.31930.11.camel@localhost.localdomain
Whole thread Raw
In response to Index relation size  ("Rigmor Ukuhe" <rigmor.ukuhe@finestmedia.ee>)
List pgsql-admin
On Mon, 2004-10-25 at 05:02, Rigmor Ukuhe wrote:
> Hi,
>
> I have table with size ~35 MB, it has several indexes and couple of them are
> well over 500 MB in size (they are indexes with 3-4 columns involved, with
> datatypes like varchar, int4 , timestamp, boolean).
> Database is VACUUMed nightly, version is 7.2.4 (cant upgrade to newest
> version at the moment). Are these
> index sizes indicating some problems with our Postgres server?

Assuming you aren't suffering from index bloat, which was a problem in
7.2, this may be normal.  To see if you are, try "reindex indexname" and
see if the index shrinks.

Multicolumn indexes being bigger than their table because of the way
they're put together, so it's likely that when you get done reindexing
the index will still be bigger than the table.


pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Question: drop database problem
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: ' in transaction' problem in mod_perl/DBI/DBD-Pg environment.