Re: performance issue in remove_from_unowned_list()

Alvaro Herrera <alvherre@2ndquadrant.com>

From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: "Ideriha, Takeshi" <ideriha.takeshi@jp.fujitsu.com>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-03-06T18:52:50Z
Lists: pgsql-hackers
On 2019-Feb-08, Tomas Vondra wrote:

> I'm wondering if we should just get rid of all such optimizations, and
> make the unowned list doubly-linked (WIP patch attached, needs fixing
> the comments etc.).

+1 for that approach.

Did you consider using a dlist?

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Commits

  1. Track unowned relations in doubly-linked list