Re: pg_attribute size

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: Anj Adu <fotographs(at)gmail(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_attribute size
Date: 2009-10-26 04:41:56
Message-ID: 4AE52894.3040606@pinpointresearch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Anj Adu wrote:
> I have a few databases where the size of pg_attribute > 6G.. This
> keeps growing..
>
> is there a recommended way to purge data from this table.. Could this
> also be why tools like pgAdmin take forever to open the database
> browser?
>
>
Do you have an extraordinary number of tables/columns?

Try (as the database administrator), "vacuum full pg_attribute" perhaps
followed by "reindex table pg_attribute". Be aware that this may pretty
much lock your database while it is running. See if things improve then
do as Tom says - make sure autovacuum is running.

Cheers,
Steve

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Steve Crawford 2009-10-26 04:46:01 Re: WAL file compatibility
Previous Message Fujii Masao 2009-10-26 02:35:59 Re: pg_standby doesnt't work