Re: Using read_stream in index vacuum - Mailing list pgsql-hackers

From Andrey M. Borodin
Subject Re: Using read_stream in index vacuum
Date
Msg-id 3E7F30EE-2DA0-4BEC-9DBD-44D2BC382D11@yandex-team.ru
Whole thread Raw
In response to Re: Using read_stream in index vacuum  (Junwang Zhao <zhjwpku@gmail.com>)
Responses Re: Using read_stream in index vacuum
List pgsql-hackers

> On 20 Oct 2024, at 15:16, Junwang Zhao <zhjwpku@gmail.com> wrote:
>
> I'm not sure if I did not express myself correctly, I didn't mean to
> restart the stream,
> I mean we can create a new stream for each outer loop, I attached a
> refactor 0002
> based on your 0001, correct me if I'm wrong.

I really like how the code looks with this refactoring. But I think we need some input from Thomas.
Is it OK if we start handful of streams for 1 page at the end of vacuum scan? How costly is to start a new scan?


Best regards, Andrey Borodin.


pgsql-hackers by date:

Previous
From: Nitin Motiani
Date:
Subject: Re: Inval reliability, especially for inplace updates
Next
From: Tom Lane
Date:
Subject: Re: Fix C23 compiler warning