Re: O(n^2) system calls in RemoveOldXlogFiles()
Thomas Munro <thomas.munro@gmail.com>
From: Thomas Munro <thomas.munro@gmail.com>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>,
Michael Paquier <michael@paquier.xyz>
Date: 2021-01-12T06:15:21Z
Lists: pgsql-hackers
On Tue, Jan 12, 2021 at 6:55 PM Andres Freund <andres@anarazel.de> wrote: > I found this before as well: https://postgr.es/m/CAB7nPqTB3VcKSSrW2Qj59tYYR2H4+n=5pZbdWou+X9iqVNMCag@mail.gmail.com Hah, I even knew that, apparently, but forgot. Adding Michael who wrote a patch. It'd be nice to fix this, at least in 14.
Commits
-
Fix O(N^2) stat() calls when recycling WAL segments
- 5ae1572993ae 14.0 landed