X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A84AB474E5C for ; Sun, 9 Feb 2003 19:39:21 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id BA7AF474E53 for ; Sun, 9 Feb 2003 19:39:20 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h1A0dB5u014968; Sun, 9 Feb 2003 19:39:11 -0500 (EST) To: daniel alvarez Cc: pgsql-admin@postgresql.org Subject: Re: system indices growing huge In-reply-to: <23506.1044821845@www52.gmx.net> References: <23506.1044821845@www52.gmx.net> Comments: In-reply-to daniel alvarez message dated "Sun, 09 Feb 2003 21:17:25 +0100" Date: Sun, 09 Feb 2003 19:39:11 -0500 Message-ID: <14967.1044837551@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/132 X-Sequence-Number: 7330 daniel alvarez 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