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

From Jeff Davis
Subject Re: Improve eviction algorithm in ReorderBuffer
Date
Msg-id 9c7f66fadea820bba375540ef80a402fdcf5b642.camel@j-davis.com
Whole thread Raw
In response to Re: Improve eviction algorithm in ReorderBuffer  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
On Wed, 2024-04-10 at 08:30 +0300, Heikki Linnakangas wrote:
> My #1 choice would be to write a patch to switch the pairing heap,
> performance test that, and revert the binary heap changes.

Sounds good to me. I would expect it to perform better than the extra
hash table, if anything.

It also has the advantage that we don't change the API for binaryheap
in 17.

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Issue with the PRNG used by Postgres
Next
From: Tom Lane
Date:
Subject: Re: Issue with the PRNG used by Postgres