Re: SLRUs in the main buffer pool - Page Header definitions

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: SLRUs in the main buffer pool - Page Header definitions
Дата
Msg-id CA+TgmoaCVhUjZN767K4XpPfFZGUwV1xntoNtrAONc97LRq4SYw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: SLRUs in the main buffer pool - Page Header definitions  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: SLRUs in the main buffer pool - Page Header definitions  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On Mon, Feb 27, 2023 at 8:56 AM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> I'm not sure if I like that or not. I think we should clean up and
> finish the other patches that this builds on first, and then decide if
> we want to use the standard page header for the SLRUs or not. And if we
> decide that we want the SLRU pages to have a page header, clean this up
> or rewrite it from scratch.

I'm not entirely sure either, but I think the idea has some potential.
If SLRU pages have headers, that means that they have LSNs, and
perhaps then we could use those LSNs to figure out when they're safe
to write to disk, instead of ad-hoc mechanisms. See SlruSharedData's
group_lsn field.

--
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Jeroen Vermeulen
Дата:
Сообщение: Re: libpq: PQgetCopyData() and allocation overhead
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump versus hash partitioning