Re: XLog size reductions: Reduced XLog record header size for PG17

Поиск
Список
Период
Сортировка
От Matthias van de Meent
Тема Re: XLog size reductions: Reduced XLog record header size for PG17
Дата
Msg-id CAEze2WgQ9d_aa6tGVDqXgdy2owvrrJtY6TaCZQ6r+BA7F1fSCA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: XLog size reductions: Reduced XLog record header size for PG17  (Matthias van de Meent <boekewurm+postgres@gmail.com>)
Ответы Re: XLog size reductions: Reduced XLog record header size for PG17  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Wed, 12 Jul 2023 at 14:50, Matthias van de Meent
<boekewurm+postgres@gmail.com> wrote:
>
> On Mon, 3 Jul 2023 at 13:08, Matthias van de Meent
> <boekewurm+postgres@gmail.com> wrote:
> >
> > On Fri, 30 Jun 2023 at 17:36, Matthias van de Meent
> > <boekewurm+postgres@gmail.com> wrote:
> > >
> > > Hi,
> > >
> > > The attached v2 patchset contains some small fixes for the failing
> > > cfbot 32-bit tests - at least locally it does so.
> > >
> > > I'd overlooked one remaining use of MAXALIGN64() in xlog.c in the last
> > > patch of the set, which has now been updated to XLP_ALIGN as well.
> > > Additionally, XLP_ALIGN has been updated to use TYPEALIGN64 instead of
> > > TYPEALIGN so that we don't lose bits of the aligned value in 32-bit
> > > systems.
> >
> > Apparently there was some usage of MAXALIGN() in xlogreader that I'd
> > missed, and which only shows up in TAP tests. In v3 I've fixed that,
> > together with some improved early detection of invalid record headers.
>
> Another fix for CFBot - pg_waldump tests which were added in 96063e28
> exposed an issue in my patchset related to RM_INVALID_ID.
>
> v4 splits former patch 0006 into two: now 0006 adds RM_INVALID and
> does the rmgr-related changes in the code, and 0007 does the WAL disk
> format overhaul.

V5 is a rebased version of v4, and includes the latest patch from
"smaller XLRec block header" [0] as 0001.

Kind regards,

Matthias van de Meent

[0] https://www.postgresql.org/message-id/CAEze2WhG_qvs0_HPCKyGLjFSSeiLZJcFhT%3DrzEUd7AzyxnSfKw%40mail.gmail.com

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Should we use MemSet or {0} for struct initialization?
Следующее
От: Pierre Ducroquet
Дата:
Сообщение: Re: Improvements in pg_dump/pg_restore toc format and performances