Re: O(n) tasks cause lengthy startups and checkpoints

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: "Bossart, Nathan" <bossartn(at)amazon(dot)com>
Cc: Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, Maxim Orlov <orlovmg(at)gmail(dot)com>, Amul Sul <sulamul(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Bruce Momjian <bruce(at)momjian(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: O(n) tasks cause lengthy startups and checkpoints
Date: 2022-02-11 18:02:49
Message-ID: 20220211180249.GA1886051@nathanxps13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Here is a rebased patch set.

--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Attachment Content-Type Size
v4-0001-Introduce-custodian.patch text/x-diff 18.6 KB
v4-0002-Also-remove-pgsql_tmp-directories-during-startup.patch text/x-diff 4.8 KB
v4-0003-Split-pgsql_tmp-cleanup-into-two-stages.patch text/x-diff 9.8 KB
v4-0004-Move-pgsql_tmp-file-removal-to-custodian-process.patch text/x-diff 6.4 KB
v4-0005-Move-removal-of-old-serialized-snapshots-to-custo.patch text/x-diff 4.3 KB
v4-0006-Move-removal-of-old-logical-rewrite-mapping-files.patch text/x-diff 8.1 KB
v4-0007-Use-syncfs-in-CheckPointLogicalRewriteHeap-for-sh.patch text/x-diff 3.2 KB
v4-0008-Move-removal-of-spilled-logical-slot-data-to-cust.patch text/x-diff 14.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2022-02-11 18:06:01 Re: postgres_fdw: using TABLESAMPLE to collect remote sample
Previous Message Sandro Santilli 2022-02-11 17:59:50 [PATCH] Support % wildcard in extension upgrade filenames