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.

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to