Re: Vacuum, Freeze and Analyze: the big picture - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Vacuum, Freeze and Analyze: the big picture
Date
Msg-id 20130530191613.GA24645@awork2.anarazel.de
Whole thread Raw
In response to Re: Vacuum, Freeze and Analyze: the big picture  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
On 2013-05-30 12:11:23 -0700, Josh Berkus wrote:
> 
> > Inhowfar did 8.4 make freezing worse? I can't remember any new problems
> > there?
> 
> Before the Visibility Map, we always vacuumed all pages in a relation
> when it was vacuumed at all.  This means that we froze tuples at
> vacuum_min_freeze_age, not at autovacuum_max_freeze_age, which is when
> we do it post-8.4.

If we have reason to vacuum the relation we do it at
vacuum_freeze_table_age, not only at autovacuum_max_freeze_age. The
difference is that the latter triggers a vacuum, while the former only
changes a partial vacuum into a full one.

Calling that behaviour unconditionally worse is, err, interesting...

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Vacuum, Freeze and Analyze: the big picture
Next
From: Andres Freund
Date:
Subject: Re: Vacuum, Freeze and Analyze: the big picture