Re: Review: GIN non-intrusive vacuum of posting tree

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Andrew Borodin <amborodin(at)acm(dot)org>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Vladimir Borodin <root(at)simply(dot)name>
Subject: Re: Review: GIN non-intrusive vacuum of posting tree
Date: 2017-02-04 22:45:45
Message-ID: CAMp0ubcW9HwuiQRrQRDa=mkWwd4kg04vRjGRki2DUgNLPs_9zQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jan 22, 2017 at 10:32 PM, Jeff Davis <pgsql(at)j-davis(dot)com> wrote:
> On Sat, Jan 21, 2017 at 4:25 AM, Andrew Borodin <borodin(at)octonica(dot)com> wrote:
> One idea I had that might be simpler is to use a two-stage page
> delete. The first stage would remove the link from the parent and mark
> the page deleted, but leave the right link intact and prevent
> recycling. The second stage would follow the chain of right links
> along each level, removing the right links to deleted pages and
> freeing the page to be recycled.

Do you think this approach is viable as a simplification?

Regards,
Jeff Davis

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2017-02-04 23:05:46 Variable name typo in launcher.c
Previous Message Corey Huinker 2017-02-04 21:00:06 Re: \if, \elseif, \else, \endif (was Re: PSQL commands: \quit_if, \quit_unless)