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

Re: Turn off vacuum in pgbench?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Tatsuo Ishii <ishii(at)postgresql(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Turn off vacuum in pgbench?
Date: 2007-09-28 23:59:57
Message-ID: 200709282359.l8SNxvb28906@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Tom Lane wrote:
> Tatsuo Ishii <ishii(at)postgresql(dot)org> writes:
> > Now that PostgreSQL 8.3 enables autovacuum by default, I think pgbench
> > should stop issuing vacuum in pgbench -i since an ordinary vacuum will
> > take very long time under autovacuum running. If there's no objection,
> > I will remove vacuum from pgbench.
> 
> I'd be inclined to leave it there, simply because you'll be changing
> the conditions of the benchmark if you take it out.  I have not noticed
> any particular problems with it...

I wonder if autovacuum itself is going to add more variability to the
test (like we don't have enough already).

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

In response to

Responses

pgsql-hackers by date

Next:From: Tom LaneDate: 2007-09-29 00:40:01
Subject: Re: Turn off vacuum in pgbench?
Previous:From: Tom LaneDate: 2007-09-28 23:45:37
Subject: Re: Enforcing database encoding and locale match

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