freezing tuples ( was: Why is vacuum_freeze_min_age 100m? ) - Mailing list pgsql-hackers

From Jeff Davis
Subject freezing tuples ( was: Why is vacuum_freeze_min_age 100m? )
Date
Msg-id 1250199180.24981.35.camel@monkey-cat.sm.truviso.com
Whole thread Raw
Responses Re: freezing tuples ( was: Why is vacuum_freeze_min_age 100m? )
Re: freezing tuples ( was: Why is vacuum_freeze_min_age 100m? )
List pgsql-hackers
[ moving to -hackers ]

If this topic has been discussed previously, please point me to the
earlier threads.

Why aren't we more opportunistic about freezing tuples? For instance, if
we already have a dirty buffer in cache, we should be more aggressive
about freezing those tuples than freezing tuples on disk.

I looked at the code, and it looks like if we freeze one tuple on the
page during VACUUM, we mark it dirty. Wouldn't that be a good
opportunity to freeze all the other tuples on the page that we can?

Or, perhaps when the bgwriter is flushing dirty buffers, it can look for
opportunities to set hint bits or freeze tuples.

Regards,
    Jeff Davis


pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: Hot standby and synchronous replication status
Next
From: Tom Lane
Date:
Subject: Getting rid of the flat authentication file