Re: reindexing pg_shdepend

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joseph S <jks(at)selectacast(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: reindexing pg_shdepend
Date: 2007-08-03 02:07:58
Message-ID: 28198.1186106878@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Joseph S <jks(at)selectacast(dot)net> writes:
> Me too. I don't change my db schema that much, but I experience bloat
> in the pg_tables that I don't expect. For instance pg_opclass needs a
> VACUUM FULL/REINDEX once a week or I notice the indexes are larger than
> the table itself. Could it be my heavy use of temp tables?

pg_opclass? That's read-only for most people. What are you doing with
operator classes?

Heavy use of temp tables would expand pg_class, pg_type, and especially
pg_attribute, but as long as you have a decent vacuuming regimen (do you
use autovac?) they shouldn't get out of hand.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sibte Abbas 2007-08-03 02:34:19 Re: parsed queries (cursors) cashing issues
Previous Message Joseph S 2007-08-03 01:49:02 Re: == PostgreSQL Weekly News - July 29 2007 ==