pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: asif ali <asif_icrossing@yahoo.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: VACUUM FULL does not works.......
Date: Wed, 06 Dec 2006 11:20:43 -0600
Message-ID: <1165425643.14565.471.camel@state.g2switchworks.com> (raw)
In-Reply-To: <155293.25526.qm@web58414.mail.re3.yahoo.com>
References: <155293.25526.qm@web58414.mail.re3.yahoo.com>

On Wed, 2006-12-06 at 11:07, asif ali wrote:
> Hi,
> I have a "product" table having 350 records. It takes approx 1.8
> seconds to get all records from this table. I copies this table to a
> "product_temp" table and run the same query to select all records; and
> it took 10ms(much faster).
> I did "VACUUM FULL" on "product" table but It did not work.
> 
> I checked the file size of these two tables.  
> "product" table's file size is "32mb" and
> "product_temp" table's file size is "72k".
> 
> So, it seems that "VACUUM FULL" is not doing anything. 
> Please suggest.

More than likely you've got a long running transaction that the vacuum
can't vacuum around.



view thread (10+ messages)  latest in thread

Message-ID: <1165425643.14565.471.camel@state.g2switchworks.com>
Permalink:  ../1165425643.14565.471.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1165425643.14565.471.camel@state.g2switchworks.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: smarlowe@g2switchworks.com, asif_icrossing@yahoo.com
  Subject: Re: VACUUM FULL does not works.......
  In-Reply-To: <1165425643.14565.471.camel@state.g2switchworks.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