Re: Do we need so many hint bits?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Do we need so many hint bits?
Дата
Msg-id 20121119184927.GC3252@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: Do we need so many hint bits?  (Jeff Davis <pgsql@j-davis.com>)
Список 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 по дате отправления:

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Do we need so many hint bits?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Do we need so many hint bits?