Re: Speedup of relation deletes during recovery

From: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Kyotaro HORIGUCHI <horiguchi(dot)kyotaro(at)lab(dot)ntt(dot)co(dot)jp>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: Speedup of relation deletes during recovery
Date: 2018-06-27 01:13:21
Message-ID: CAEepm=0bnKTGmi71SZd=9BAMcR72+57ojC75UBFJBq2+DxZthw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jun 27, 2018 at 12:16 PM, Thomas Munro
<thomas(dot)munro(at)enterprisedb(dot)com> wrote:
> I think we should take the hint in the comments and make it O(1)
> anyway. See attached draft patch.

Alternatively, here is a shorter and sweeter dlist version (I did the
open-coded one thinking of theoretical back-patchability).

--
Thomas Munro
http://www.enterprisedb.com

Attachment Content-Type Size
0001-Use-a-dlist-for-unowned-relations.patch application/octet-stream 4.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2018-06-27 01:44:03 Re: Speedup of relation deletes during recovery
Previous Message Thomas Munro 2018-06-27 00:16:39 Re: Speedup of relation deletes during recovery