On Wed, 2007-06-13 at 18:33 +0200, RESTOUX, Loïc wrote:

> 2) I believed that the poor performances during the vacuum freeze were due to 
> the obsolete data statistics. But after a full restart of the dabatase, 
> performances are good. Does PostgreSQL rebuild his statistics during startup 
> ? 

You probably don't need to run VACUUM FREEZE.

VACUUM FREEZE will thrash the disks much more than normal VACUUM. We're
improving that somewhat in 8.3, but the basic issue is that VACUUM
FREEZE cleans out more dead rows and so will dirty more data blocks.

Are you concurrently running DDL, Truncate or CLUSTER? That will
interfere with the operation of VACUUM.

-- 
  Simon Riggs             
  EnterpriseDB   http://www.enterprisedb.com



---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

Reply via email to