pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Michal Taborsky <michal.taborsky@mall.cz>
Cc: pgsql-performance@postgresql.org
Subject: Re: Cleaning bloated pg_attribute
Date: Fri, 10 Jun 2005 11:07:17 +0100
Message-ID: <42A96655.3090202@archonet.com> (raw)
In-Reply-To: <42A957E9.8040909@mall.cz>
References: <42A957E9.8040909@mall.cz>

Michal Taborsky wrote:
> I managed, by extensive usage of temporary tables, to totally bloat 
> pg_attribute. It currently has about 40000 pages with just 3000 tuples. 

> The only thing I could think of is VACUUM FULL, but from my former 
> experience I guess it'll take maybe over an hour, effectively rendering 
> the server unusable, because of the exclusive lock.

You can vacuum full a single table - shouldn't take an hour for just the 
one table. Unless your disk I/O is *constantly* running flat-out.

-- 
   Richard Huxton
   Archonet Ltd



view thread (2+ messages)

Message-ID: <42A96655.3090202@archonet.com>
Permalink:  ../42A96655.3090202@archonet.com/
Also on:    postgresql.org/message-id/42A96655.3090202@archonet.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dev@archonet.com, michal.taborsky@mall.cz
  Subject: Re: Cleaning bloated pg_attribute
  In-Reply-To: <42A96655.3090202@archonet.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