Re: .ready and .done files considered harmful
Hannu Krosing <hannuk@google.com>
From: Hannu Krosing <hannuk@google.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>,
Andres Freund <andres@anarazel.de>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2021-05-06T19:23:36Z
Lists: pgsql-hackers
How are you envisioning the shared-memory signaling should work in the original sample case, where the archiver had been failing for half a year ? Or should we perhaps have a system table for ready-to-archive WAL files to get around limitation sof file system to return just the needed files with ORDER BY ... LIMIT as we already know how to make lookups in database fast ? Cheers Hannu On Thu, May 6, 2021 at 12:24 PM Robert Haas <robertmhaas@gmail.com> wrote: > > On Thu, May 6, 2021 at 3:23 AM Kyotaro Horiguchi > <horikyota.ntt@gmail.com> wrote: > > FWIW It's already done for v14 individually. > > > > Author: Fujii Masao <fujii@postgresql.org> > > Date: Mon Mar 15 13:13:14 2021 +0900 > > > > Make archiver process an auxiliary process. > > Oh, I hadn't noticed. Thanks. > > -- > Robert Haas > EDB: http://www.enterprisedb.com > >
Commits
-
Reduce overhead of renaming archive status files.
- 756e221db610 16.0 cited
-
Improve performance of pgarch_readyXlog() with many status files.
- beb4e9ba1652 15.0 landed
-
Prioritize history files when archiving
- b981df4cc09a 12.0 cited