Re: Turning off HOT/Cleanup sometimes - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Turning off HOT/Cleanup sometimes
Date
Msg-id 20150422211736.GF13362@momjian.us
Whole thread Raw
In response to Re: Turning off HOT/Cleanup sometimes  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: Turning off HOT/Cleanup sometimes
List pgsql-hackers
On Wed, Apr 22, 2015 at 06:07:00PM -0300, Alvaro Herrera wrote:
> > Good point, but doesn't vacuum remove the need for pruning as it removes
> > all the old rows?
> 
> Sure.  The point, I think, is to make autovacuum runs of some sort that
> don't actually vacuum but only do HOT-pruning.  Maybe this is a
> reasonable solution to the problem that queries don't prune anymore
> after Simon's patch.  If we made autovac HOT-prune periodically, we
> could have read-only queries prune only already-dirty pages.  Of course,
> that would need further adjustments to default number of autovac
> workers, I/O allocation, etc.

Do we really want to make vacuum more complex for this?  vacuum does
have the delay settings we would need though.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



pgsql-hackers by date:

Previous
From: Pedro Gimeno
Date:
Subject: Re: Rounding to even for numeric data type
Next
From: Jim Nasby
Date:
Subject: Re: Freeze avoidance of very large table.