Map WAL segment files on PMEM as WAL buffers - Mailing list pgsql-hackers

From Takashi Menjo
Subject Map WAL segment files on PMEM as WAL buffers
Date
Msg-id CAOwnP3PHDOW=-BqutjJPN0qEdF8ocqBuOiE9bpe-_c-1bnQ1yA@mail.gmail.com
Whole thread Raw
Responses Re: Map WAL segment files on PMEM as WAL buffers
List pgsql-hackers
Hi hackers,

In response to PMEM-related discussions in the previous thread [1],
especially Tomas' performance report [2], I have worked for the way
that maps WAL segment files on PMEM as WAL buffers. I start this new
thread to go that way since the previous one has focused on another
patchset that I called "Non-volatile WAL buffer."

The patchset using WAL segment files is attached to this mail. Note
that it is tested on 8e4b332 (Mar 22, 2021) and cannot be applied to
the latest master. Also note that it has a known issue related to
checkpoint request (see Section 1.4 in the attached PDF for details).
I'm rebasing and fixing it, so please be patient for an update.

This mail also has a performance report PDF comparing PMEM patchsets
including ones that I have posted to pgsql-hackers ever, and such
zipped and rebased patchsets for reproducibility. The report covers
how to build and configure PostgreSQL with the patchsets, so please
see it before you use them.

Regards,
Takashi

[1] https://www.postgresql.org/message-id/flat/002f01d5d28d%2423c01430%246b403c90%24%40hco.ntt.co.jp_1
[2] https://www.postgresql.org/message-id/9beaac79-2375-8bfc-489b-eb62bd8d4020@enterprisedb.com

-- 
Takashi Menjo <takashi.menjo@gmail.com>

Attachment

pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: pg_get_wal_replay_pause_state() should not return 'paused' while a promotion is ongoing.
Next
From: Peter Geoghegan
Date:
Subject: Re: MaxOffsetNumber for Table AMs