Re: Improve read_local_xlog_page_guts by replacing polling with latch-based waiting
Xuneng Zhou <xunengzhou@gmail.com>
From: Xuneng Zhou <xunengzhou@gmail.com>
To: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Cc: Alexander Korotkov <aekorotkov@gmail.com>,
Heikki Linnakangas <hlinnaka@iki.fi>
Date: 2025-08-28T08:22:55Z
Lists: pgsql-hackers
Attachments
- v8-0001-Implement-WAIT-FOR-command.patch (application/octet-stream) patch v8-0001
- v3-0000-cover-letter.patch (application/octet-stream)
- v3-0002-Improve-read_local_xlog_page_guts-by-replacing-po.patch (application/octet-stream) patch v3-0002
Hi, Some changes in v3: 1) Update the note of xlogwait.c to reflect the extending of its use for flush waiting and internal use for both flush and replay waiting. 2) Update the comment above logical_read_xlog_page which describes the prior-change behavior of read_local_xlog_page. Best, Xuneng
Commits
-
Add infrastructure for efficient LSN waiting
- 3b4e53a075ea 19 (unreleased) landed
-
Add pairingheap_initialize() for shared memory usage
- 8af3ae0d4b36 19 (unreleased) landed
-
Implement WAIT FOR command
- 447aae13b030 19 (unreleased) landed