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

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Nikola <xlpizza(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_class has 3615 rows and 1010Mb in table size
Date: 2010-05-05 19:37:05
Message-ID: 1273088225.26743.37.camel@jd-desktop.unknown.charter.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

I don't recall if 8.2 autovacuum would vacuum system catalogs or not.
Either way, you really should upgrade, especially since you are on
Windows.

Joshua D. Drake

>

--
PostgreSQL.org Major Contributor
Command Prompt, Inc: http://www.commandprompt.com/ - 503.667.4564
Consulting, Training, Support, Custom Development, Engineering

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-05-05 20:15:31 Re: Please help me debug regular segfaults on 8.3.10
Previous Message pgsql 2010-05-05 17:13:51 Re: Please help me debug regular segfaults on 8.3.10