Re: autovacuum not prioritising for-wraparound tables - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: autovacuum not prioritising for-wraparound tables
Date
Msg-id 1359570710.31134.YahooMailNeo@web162905.mail.bf1.yahoo.com
Whole thread Raw
In response to Re: autovacuum not prioritising for-wraparound tables  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
Jeff Janes <jeff.janes@gmail.com> wrote:
> Kevin Grittner <kgrittn@ymail.com> wrote:

>> So reducing vacuum_freeze_min_age not only helps minimize the
>> writes that are needed when autovacuum needs to scan the entire
>> heap,
>
> How does it do that? If the tuple doesn't need to frozen now
> because it was already frozen, that just means the write happened
> at a different time but it still happened.

There's a lot to be said for nibbling away at it during VM
autovacuum runs versus doing it in big chunks in heap-scan runs,
particularly if your BBU cache can absorb up to a certain amout
with no real pain, but causes major pain if the write cache fills.

-Kevin



pgsql-hackers by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: autovacuum not prioritising for-wraparound tables
Next
From: Jim Nasby
Date:
Subject: Re: Hm, table constraints aren't so unique as all that