pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-patches@postgresql.org
Subject: Re: Aggressive freezing in lazy-vacuum
Date: Mon, 05 Mar 2007 11:02:31 -0500
Message-ID: <18982.1173110551@sss.pgh.pa.us> (raw)
In-Reply-To: <20070305182401.C4BC.ITAGAKI.TAKAHIRO@oss.ntt.co.jp>
References: <20070227141958.638D.ITAGAKI.TAKAHIRO@oss.ntt.co.jp>
	<20070227170613.GK29041@nasby.net>
	<20070305182401.C4BC.ITAGAKI.TAKAHIRO@oss.ntt.co.jp>

ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.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



view thread (11+ messages)  latest in thread

Message-ID: <18982.1173110551@sss.pgh.pa.us>
Permalink:  ../18982.1173110551@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/18982.1173110551@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, itagaki.takahiro@oss.ntt.co.jp, pgsql-hackers@postgresql.org, pgsql-patches@postgresql.org
  Subject: Re: Aggressive freezing in lazy-vacuum
  In-Reply-To: <18982.1173110551@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox