Re: Aggressive freezing in lazy-vacuum

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: Aggressive freezing in lazy-vacuum
Date: 2007-03-05 16:02:31
Message-ID: 18982.1173110551@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches pgsql-performance

ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> writes:
> This is a stand-alone patch for aggressive freezing. I'll propose
> to use OldestXmin instead of FreezeLimit as the freeze threshold
> in the circumstances below:

I think it's a really bad idea to freeze that aggressively under any
circumstances except being told to (ie, VACUUM FREEZE). When you
freeze, you lose history information that might be needed later --- for
forensic purposes if nothing else. You need to show a fairly amazing
performance gain to justify that, and I don't think you can.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2007-03-05 16:03:15 Re: HOT - whats next ?
Previous Message Simon Riggs 2007-03-05 15:14:50 Latest plans for Utilities with HOT

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2007-03-05 16:04:26 Heap page diagnostic/test functions (WIP)
Previous Message Neil Conway 2007-03-05 14:14:04 Re: Trivial comment fix

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2007-03-05 16:11:08 Re: PostgreSQL 8.2.3 VACUUM Timings/Performance
Previous Message Steven Flatt 2007-03-05 16:00:48 Turning off Autovacuum