Re: pg_autovacuum vacuum cost variables patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Michael Paesold" <mpaesold(at)gmx(dot)at>
Cc: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>, "pgsql-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: pg_autovacuum vacuum cost variables patch
Date: 2004-10-26 16:06:54
Message-ID: 10053.1098806814@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

"Michael Paesold" <mpaesold(at)gmx(dot)at> writes:
> And it seems it affects analyze much more than vacuum, at least if there is
> *nothing* to vacuum... (2 seconds -> 8 seconds)

Fixed. The original coding was charging a page fetch cost for each row
on each page that analyze looked at :-(

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-10-26 17:16:31 Re: rmtree() failure on Windows
Previous Message Greg Stark 2004-10-26 15:30:23 Re: [PATCHES] ARC Memory Usage analysis