Re: Removing PD_ALL_VISIBLE

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Removing PD_ALL_VISIBLE
Дата
Msg-id CA+U5nMJNJ58=Z_9_NO81oTq8zCgsomHxDUxEH+Rvj6B-m09oSg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Removing PD_ALL_VISIBLE  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Ответы Re: Removing PD_ALL_VISIBLE  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
On 17 January 2013 15:14, Heikki Linnakangas <hlinnakangas@vmware.com> wrote:
> On 17.01.2013 16:53, Robert Haas wrote:
>>
>> On Thu, Jan 17, 2013 at 3:49 AM, Pavan Deolasee
>> <pavan.deolasee@gmail.com>  wrote:
>>>
>>> May be you've already addressed that concern with the proven
>>> performance numbers, but I'm not sure.
>>
>>
>> It would be nice to hear what Heikki's reasons were for adding
>> PD_ALL_VISIBLE in the first place.
>
>
> The idea was to avoid clearing the bit in the VM page on every update, when
> the bit is known to not be set, ie. when the PD_ALL_VISIBLE flag is not set.
> I assumed the traffic and contention on the VM page would be a killer
> otherwise. I don't remember if I ever actually tested that though. Maybe I
> was worrying about nothing and hitting the VM page on every update is ok.

Presumably we remember the state of the VM so we can skip the re-visit
after every write?

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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Re: Slave enters in recovery and promotes when WAL stream with master is cut + delay master/slave
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: Removing PD_ALL_VISIBLE