Re: O(n^2) system calls in RemoveOldXlogFiles()
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Andres Freund <andres@anarazel.de>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-01-12T10:30:13Z
Lists: pgsql-hackers
On Tue, Jan 12, 2021 at 8:27 PM Michael Paquier <michael@paquier.xyz> wrote: > Yeah, this rings a bell. I never went back to it even if the thing > looks rather clean at quick glance (not tested), but I may be able > to spend some cycles on that. I don't think that's critical enough > for a backpatch, so doing something only on HEAD is fine by me. > What's your take? I haven't heard any user complaints, and I'd personally be happy with a fix on master only.
Commits
-
Fix O(N^2) stat() calls when recycling WAL segments
- 5ae1572993ae 14.0 landed