Re: Relation extension scalability

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Relation extension scalability
Дата
Msg-id 14957.1437321407@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Relation extension scalability  (Andres Freund <andres@anarazel.de>)
Ответы Re: Relation extension scalability  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2015-07-19 11:28:25 -0400, Tom Lane wrote:
>> At this point session 1 will go and create page 44, won't it, and you
>> just wasted a page.

> My local code now recognizes that case and uses the page. We just need
> to do an PageIsNew().

Er, what?  How can you tell whether an all-zero page was or was not
just written by another session?
        regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Relation extension scalability
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Relation extension scalability