From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org, Hannu Krosing <hannu(at)skype(dot)net> |
Subject: | Re: The vacuum-ignore-vacuum patch |
Date: | 2006-07-28 04:05:22 |
Message-ID: | 20060728040522.GD21610@surnet.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Tom Lane wrote:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> > Tom Lane wrote:
> >> nonInVacuumXmin seems useless ... perhaps a vestige of some earlier
> >> version of the computation?
>
> > Hmm, not useless at all really -- only a bug of mine. Turns out the
> > notInVacuumXmin stuff is essential, so I put it back.
>
> Uh, why?
Because it's used to determine the Xmin that our vacuum will use. If
there is a transaction whose Xmin calculation included the Xid of a
transaction running vacuum, we have gained nothing from directly
excluding said vacuum's Xid, because it will affect us anyway indirectly
via that transaction's Xmin.
--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Glaesemann | 2006-07-28 04:49:46 | Re: [hackers-jp: 219] Re: postgresql-8.1.4文字セットサポート |
Previous Message | Bruce Momjian | 2006-07-28 02:05:02 | Re: The vacuum-ignore-vacuum patch |
From | Date | Subject | |
---|---|---|---|
Next Message | satoshi nagayasu | 2006-07-28 06:00:18 | Re: pgstattuple extension for indexes |
Previous Message | Bruce Momjian | 2006-07-28 02:05:02 | Re: The vacuum-ignore-vacuum patch |