Re: O(n^2) system calls in RemoveOldXlogFiles()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: O(n^2) system calls in RemoveOldXlogFiles()
Date: 2021-01-13 07:27:25
Message-ID: X/6g3d4aKhLLvJFm@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jan 12, 2021 at 11:30:13PM +1300, Thomas Munro wrote:
> I haven't heard any user complaints, and I'd personally be happy with
> a fix on master only.

I have been looking again at that, and the rebased version that Andres
has provided would take care of that. Any thoughts?
--
Michael

Attachment Content-Type Size
0001-Fix-O-recycled_segments-2-stat-calls-while-recycling.patch text/x-diff 5.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ajin Cherian 2021-01-13 07:28:46 Re: Track replica origin progress for Rollback Prepared
Previous Message Michael Paquier 2021-01-13 07:22:36 Re: ResourceOwner refactoring