pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <greg@2ndquadrant.com>
To: Mario Splivalo <mario.splivalo@megafon.hr>
Cc: pgsql-testers@postgresql.org
Subject: Re: vacuum in pg9beta4 much slower than in 8.4
Date: Mon, 16 Aug 2010 02:44:34 -0400
Message-ID: <4C68DE52.70001@2ndquadrant.com> (raw)
In-Reply-To: <4C6801B4.5050202@megafon.hr>
References: <4C6801B4.5050202@megafon.hr>

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;
 debug_assertions
------------------
 on

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
greg@2ndQuadrant.com   www.2ndQuadrant.us




view thread (4+ messages)  latest in thread

Message-ID: <4C68DE52.70001@2ndquadrant.com>
Permalink:  ../4C68DE52.70001@2ndquadrant.com/
Also on:    postgresql.org/message-id/4C68DE52.70001@2ndquadrant.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-testers@postgresql.org
  Cc: greg@2ndquadrant.com, mario.splivalo@megafon.hr
  Subject: Re: vacuum in pg9beta4 much slower than in 8.4
  In-Reply-To: <4C68DE52.70001@2ndquadrant.com>
  References: <4C6801B4.5050202@megafon.hr> <4C68DE52.70001@2ndquadrant.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