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

Re: vacuum in pg9beta4 much slower than in 8.4

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Mario Splivalo <mario(dot)splivalo(at)megafon(dot)hr>
Cc: pgsql-testers(at)postgresql(dot)org
Subject: Re: vacuum in pg9beta4 much slower than in 8.4
Date: 2010-08-16 06:44:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-testers
Mario Splivalo wrote:
> I understand that VACUUM FULL in 9.0 copies all the data, but is it OK 
> that plain vacuum in 9.0 is slower than in 8.4?

It should be faster for tables with a lot of junk in them, but the new 
VACUUM FULL is likely to be slower for ones that are already clean.  
Note that one thing to be aware of is that depending on where you got 
your 9.0 from, it may be compiled with debugging and assertion calls 
that can slow certain operations down quite a bit.  If you try this at a 
command prompt:

postgres=# show debug_assertions;

And that's on, you can expect that copy of 9.0 to be significantly 
slower at a number of things than a similar 8.4.

Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support

In response to


pgsql-testers by date

Next:From: Mario SplivaloDate: 2010-08-16 09:34:01
Subject: Re: vacuum in pg9beta4 much slower than in 8.4
Previous:From: Bruce MomjianDate: 2010-08-15 18:36:04
Subject: Re: pg_upgrade test

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group