pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mario Splivalo <mario.splivalo@megafon.hr>
To: pgsql-testers@postgresql.org
Subject: vacuum in pg9beta4 much slower than in 8.4
Date: Sun, 15 Aug 2010 17:03:16 +0200
Message-ID: <4C6801B4.5050202@megafon.hr> (raw)

I think this is ok, but I'd just like a confirmation.

I have a db cluster with 6 databases, totaling around 6 GB of data.

In postgres 8.4 subsequent runs of 'vacuumdb -afvz' takes around 55 
seconds (average from 10 runs). 'vacuumdb -avz' takes around 40 seconds 
(average from 10 runs).

However, in postgres 9.0beta4, 'vacuumdb -avz' takes around 2 minutes 
(average from 10 runs), and 'vacuumdb -afvz' takes around 12 minutes 
(average from 4 runs).

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?

	Mike



view thread (4+ messages)  latest in thread

Message-ID: <4C6801B4.5050202@megafon.hr>
Permalink:  ../4C6801B4.5050202@megafon.hr/
Also on:    postgresql.org/message-id/4C6801B4.5050202@megafon.hr

 · 

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: mario.splivalo@megafon.hr
  Subject: Re: vacuum in pg9beta4 much slower than in 8.4
  In-Reply-To: <4C6801B4.5050202@megafon.hr>
  References: <4C6801B4.5050202@megafon.hr>

* 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