Re: system indices growing huge

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: daniel alvarez <d-alvarez(at)gmx(dot)de>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: system indices growing huge
Date: 2003-02-10 00:39:11
Message-ID: 14967.1044837551@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

daniel alvarez <d-alvarez(at)gmx(dot)de> writes:
> I'm observing a strange effect on a PostgreSQL installation. The system
> indices of one of the databases are growing large without obvious reason.

Standard index-bloat problem; you will find plenty about it in the
archives. In the near term, the only thing you can do about it is
reindex pg_class and pg_attribute every so often.

The fact that those particular indexes are bloating leads me to suspect
that you are creating and dropping vast numbers of tables (temp tables
presumably). Dunno if you can arrange to reduce your usage of temp
tables, but if you can it'll reduce the growth rate.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Rob Abernethy IV 2003-02-10 01:18:43 Re: MD5 Passwords and user administratio
Previous Message Ian Barwick 2003-02-09 21:09:35 Re: system indices growing huge