Re: Improve eviction algorithm in ReorderBuffer - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Improve eviction algorithm in ReorderBuffer
Date
Msg-id 4ce8dd017b911e8b2772147992db468deed71896.camel@j-davis.com
Whole thread Raw
In response to Re: Improve eviction algorithm in ReorderBuffer  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Improve eviction algorithm in ReorderBuffer
List pgsql-hackers
On Wed, 2024-04-10 at 12:13 +0900, Michael Paquier wrote:

> Wouldn't the best way forward be to revert
> 5bec1d6bc5e3 and revisit the whole in v18?

That's a reasonable conclusion. Also consider commits b840508644 and
bcb14f4abc.

I had tried to come up with a narrower fix, and I think it's already
been implemented here in approach 2:

https://www.postgresql.org/message-id/CAD21AoAtf12e9Z9NLBuaO1GjHMMo16_8R-yBu9Q9jrk2QLqMEA%40mail.gmail.com

but it does feel wrong to introduce an unnecessary hash table in 17
when we know it's not the right solution.

Regards,
    Jeff Davis





pgsql-hackers by date:

Previous
From: jiye
Date:
Subject: [MASSMAIL] some confusion about parallel insert select in postgres parallel dml develop
Next
From: Michael Paquier
Date:
Subject: Re: Improve eviction algorithm in ReorderBuffer