Re: Lowering the ever-growing heap->pd_lower

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: Lowering the ever-growing heap->pd_lower
Дата
Msg-id CAH2-WzkvQCNYXd0Qmzp+COrepYUX-r3iA0=97-tdUkUAeGgXPw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Lowering the ever-growing heap->pd_lower  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
Ответы Re: Lowering the ever-growing heap->pd_lower  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-hackers
On Fri, Apr 8, 2022 at 4:38 AM Matthias van de Meent
<boekewurm+postgres@gmail.com> wrote:
> Yeah, I think we should definately support more line pointers on a
> heap page, but abusing MaxHeapTuplesPerPage for that is misleading:
> the current value is the physical limit for heap tuples, as we have at
> most 1 heap tuple per line pointer and thus the MaxHeapTuplesPerPage
> won't change. A macro MaxHeapLinePointersPerPage would probably be
> more useful, which could be as follows (assuming we don't want to
> allow filling a page with effectively only dead line pointers):

That's a good point. Sounds like it might be the right approach.

I suppose that it will depend on how much use of MaxHeapTuplesPerPage
remains once it is split in two like this.

-- 
Peter Geoghegan



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Add TAP test for archive_cleanup_command and recovery_end_comman
Следующее
От: SATYANARAYANA NARLAPURAM
Дата:
Сообщение: Re: How to simulate sync/async standbys being closer/farther (network distance) to primary in core postgres?