pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gregory Maxwell <gmaxwell@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: Bloated pg_shdepend_depender_index
Date: Thu, 23 Mar 2006 22:58:11 -0500
Message-ID: <e692861c0603231958m11472300gb1c32cf0e998a3cd@mail.gmail.com> (raw)
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>

On 3/23/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> > 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.

Oh sure enough it is.. I'm glad I copied the prompt. :)

So it's by design that these now bloated index won't shrink if let
unvacuumed? I didn't expect to hit something like that.

Okay, so long as it wasn't a bug. I've reindexed the system tables
now. The database is now 6mb on disk.. a big improvement from 6gb. :)

Thanks.



view thread (26+ messages)  latest in thread

Message-ID: <e692861c0603231958m11472300gb1c32cf0e998a3cd@mail.gmail.com>
Permalink:  ../e692861c0603231958m11472300gb1c32cf0e998a3cd@mail.gmail.com/
Also on:    postgresql.org/message-id/e692861c0603231958m11472300gb1c32cf0e998a3cd@mail.gmail.com

 · 

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

* 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