Re: heap_page_prune comments - Mailing list pgsql-hackers

From Robert Haas
Subject Re: heap_page_prune comments
Date
Msg-id CA+TgmoYw=OsuGwz6gWzsa0gN0x8oKHqx5GPFNU3dwUXfGOLifA@mail.gmail.com
Whole thread Raw
In response to Re: heap_page_prune comments  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Nov 4, 2011 at 2:17 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Now, heap_page_prune is in a slightly different place, because it
> doesn't actually know whether the current backend is going to make an
> insertion or update in the page.  If it did know that was going to
> happen, then the analogy would be exact.

OK.

> In any case, the comment in heap_page_prune is ignoring the probability
> that VACUUM will eventually visit the page and then update the FSM.
> That ought to be factored into any discussion of what to do here.

True.  Unfortunately, I have no intuition on what the right thing to
do is, here.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: IDLE in transaction introspection
Next
From: Robert Haas
Date:
Subject: Re: IDLE in transaction introspection