Re: Do we need so many hint bits? - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Do we need so many hint bits?
Date
Msg-id 20121119184927.GC3252@awork2.anarazel.de
Whole thread Raw
In response to Re: Do we need so many hint bits?  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
On 2012-11-19 10:46:37 -0800, Jeff Davis wrote:
> On Tue, 2012-11-20 at 00:13 +0530, Atri Sharma wrote:
> 
> > My mistake...I thought we were more concerned about the cost of
> > locking.
> > 
> > I agree, locking many data pages simultaneously could be hazardous.
> > 
> > This requires more thought.Maybe removing PD_ALL_VISIBLE isnt such a
> > great idea after all...
> 
> As I said elsewhere in the thread, I'm not planning to introduce any
> additional locking. There is already precedent in IndexOnlyNext.

Yea, but that precedent is only valid because IOS does check for a MVCC
snapshots. Also it doesn't set anything.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Do we need so many hint bits?
Next
From: Tom Lane
Date:
Subject: Re: Do we need so many hint bits?