Re: pg_class has 3615 rows and 1010Mb in table size

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Joshua D(dot) Drake <jd(at)commandprompt(dot)com>
Cc: Nikola <xlpizza(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_class has 3615 rows and 1010Mb in table size
Date: 2010-05-05 22:16:23
Message-ID: 1273097574-sup-412@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Excerpts from Joshua D. Drake's message of mié may 05 15:37:05 -0400 2010:
> On Wed, 2010-05-05 at 09:40 -0700, Nikola wrote:
>
> > I looked at the pg_class table and noticed that its size is 1010Mb and
> > index size is 1137Mb, while the table itself has only 3615 rows in it.
> > I tried vacuuming it, but that did not change anything. Is there
> > anything I can do to get this table back to the size it is supposed to
> > be at?
> >
> > PostgreSQL 8.2.6 on Windows 2003 Server.
>
> vacuum full, its an exclusive lock though.

Note though that there being such few tuples, it should be rather quick.

> I don't recall if 8.2 autovacuum would vacuum system catalogs or not.

Eh, of course it would.
--

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Hunsberger 2010-05-06 02:57:36 Re: alter table alter type CASCADE
Previous Message pgsql 2010-05-05 21:19:16 Re: Please help me debug regular segfaults on 8.3.10