Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: VACUUM FULL does not works.......


  • From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
  • To: asif ali <asif_icrossing(at)yahoo(dot)com>
  • Cc: pgsql-performance(at)postgresql(dot)org
  • Subject: Re: VACUUM FULL does not works.......
  • Date: Wed, 06 Dec 2006 11:20:43 -0600
  • Message-id: <1165425643(dot)14565(dot)471(dot)camel(at)state(dot)g2switchworks(dot)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.



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group