From: Tom Lane <tgl@sss.pgh.pa.us>
To: daniel alvarez <d-alvarez@gmx.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: system indices growing huge
Date: Sun, 09 Feb 2003 19:39:11 -0500
Message-ID: <14967.1044837551@sss.pgh.pa.us> (raw)
In-Reply-To: <23506.1044821845@www52.gmx.net>
References: <23506.1044821845@www52.gmx.net>
daniel alvarez <d-alvarez@gmx.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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, d-alvarez@gmx.de
Subject: Re: system indices growing huge
In-Reply-To: <14967.1044837551@sss.pgh.pa.us>
References: <23506.1044821845@www52.gmx.net> <14967.1044837551@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