Re: Speedup of relation deletes during recovery - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Speedup of relation deletes during recovery
Date
Msg-id 20180627014655.si4u37aop3apcsow@alap3.anarazel.de
Whole thread Raw
In response to Re: Speedup of relation deletes during recovery  (Thomas Munro <thomas.munro@enterprisedb.com>)
Responses Re: Speedup of relation deletes during recovery
List pgsql-hackers
On 2018-06-27 13:44:03 +1200, Thomas Munro wrote:
> On further reflection, on the basis that it's the most conservative
> change, +1 for Fujii-san's close-in-reverse-order idea.  We should
> reconsider that data structure for 12; there doesn't seems to be a
> good reason to carry all those comments warning about performance when
> the O(1) version is shorter than the comments.

Agreed on this.  I like the dlist version more than the earlier one, so
let's fix it up, for v12+.  But regardless I'd argue that we consider
disabling that infrastructure while in recovery - it's just unnecessary.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Speedup of relation deletes during recovery
Next
From: Chapman Flack
Date:
Subject: Re: Is PG built on any C compilers where int division floors?