pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: jose fuenmayor <jafn82@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: size of indexes and tables (more than 1GB)
Date: Tue, 30 Aug 2005 08:01:40 -0500
Message-ID: <20050830130140.GE22545@wolff.to> (raw)
In-Reply-To: <69f2062a050830053829b874c5@mail.gmail.com>
References: <69f2062a05082505523a9e485a@mail.gmail.com>
	<20050825132334.GE15100@wolff.to>
	<69f2062a050830053829b874c5@mail.gmail.com>

On Tue, Aug 30, 2005 at 08:38:03 -0400,
  jose fuenmayor <jafn82@gmail.com> wrote:
> i am using postgreSql 8.0.3 i've try vacuum "vacuum full" the hole database 
> but it takes too long, seems it will never be finished, i've tried "vacuum 
> <table_name>" and the table remains nearly the same as isee i my PGDATA 
> directory. is this normal? . is there something i can do ?

Have you tried VACUUM FULL on just that table?

It may be that your FSM setting isn't high enough to remove all of the
dead tuples with a normal vacuum.

How long did you wait when you tried to vacuum full the whole database?

Another option is to use the CLUSTER command on the big table. If that
table is mostly dead tuples, cluster may run faster than vacuum full.



view thread (8+ messages)  latest in thread

Message-ID: <20050830130140.GE22545@wolff.to>
Permalink:  ../20050830130140.GE22545@wolff.to/
Also on:    postgresql.org/message-id/20050830130140.GE22545@wolff.to

 · 

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: bruno@wolff.to, jafn82@gmail.com
  Subject: Re: size of indexes and tables (more than 1GB)
  In-Reply-To: <20050830130140.GE22545@wolff.to>
  References: <69f2062a05082505523a9e485a@mail.gmail.com> <20050825132334.GE15100@wolff.to> <69f2062a050830053829b874c5@mail.gmail.com> <20050830130140.GE22545@wolff.to>

* 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