Re: performance issue in remove_from_unowned_list()
Tomas Vondra <tomas.vondra@2ndquadrant.com>
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: "Ideriha, Takeshi" <ideriha.takeshi@jp.fujitsu.com>,
Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2019-03-06T19:06:38Z
Lists: pgsql-hackers
On 3/6/19 7:52 PM, Alvaro Herrera wrote: > 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? > I'm not sure. I might have considered it, but decided to go with a simpler / less invasive fix demonstrating the effect. And maybe make it more acceptable for backpatch, if we want that. Which we probably don't, so I agree dlist might be a better choice. cheers -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Commits
-
Track unowned relations in doubly-linked list
- 31737eb43ffd 9.4.22 landed
- 261aa218c9a0 9.5.17 landed
- 0a5dcb87aec7 9.6.13 landed
- 5601f9fb97d1 10.8 landed
- fb0b5b0b84a0 11.3 landed
- 6ca015f9f073 12.0 landed