pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Gregory Maxwell <gmaxwell@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Bloated pg_shdepend_depender_index
Date: Thu, 23 Mar 2006 22:24:12 -0500
Message-ID: <21266.1143170652@sss.pgh.pa.us> (raw)
In-Reply-To: <e692861c0603231911t43e793eer2a3ed144c46601c0@mail.gmail.com>
References: <e692861c0603231716j63d712eemfe7292ff968801a9@mail.gmail.com>
	<20060324023105.GB11242@surnet.cl>
	<e692861c0603231911t43e793eer2a3ed144c46601c0@mail.gmail.com>

"Gregory Maxwell" <gmaxwell@gmail.com> writes:
> When I vacuum fulled nothing else was connected.. I just restarted PG 
> and vacuumed again.. no obvious change of disk size (still.. 6.4
> gigs).. but this changed:

> amarokcollection=#  select relname, pg_relation_size(oid) FROM
> pg_class ORDER BY 2 DESC LIMIT 20;
>              relname             | pg_relation_size
> ---------------------------------+------------------
>  pg_attribute_relid_attnam_index |       2881069056
>  pg_class_relname_nsp_index      |       1185890304

That's in a different database --- evidently, the one where a *whole*
lotta temp tables have been created and dropped.  If you haven't been
doing any vacuuming then system catalog bloat is to be expected.

			regards, tom lane



view thread (26+ messages)  latest in thread

Message-ID: <21266.1143170652@sss.pgh.pa.us>
Permalink:  ../21266.1143170652@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21266.1143170652@sss.pgh.pa.us

 · 

reply

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, gmaxwell@gmail.com
  Subject: Re: Bloated pg_shdepend_depender_index
  In-Reply-To: <21266.1143170652@sss.pgh.pa.us>
  References: <e692861c0603231716j63d712eemfe7292ff968801a9@mail.gmail.com> <20060324023105.GB11242@surnet.cl> <e692861c0603231911t43e793eer2a3ed144c46601c0@mail.gmail.com> <21266.1143170652@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