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 73D0FF86-DE06-4A71-A3E8-3830F4C1A60B@yandex-team.ru
Whole thread Raw
In response to Re: Using read_stream in index vacuum  (Rahila Syed <rahilasyed90@gmail.com>)
List pgsql-hackers

> On 25 Oct 2024, at 00:55, Rahila Syed <rahilasyed90@gmail.com> wrote:
>
> While writing this email, I realized I evicted buffers for the table
> and not the index. I will perform the test again. However,
> I would like to know your opinion on whether this looks like
> a valid test.

Well, yes, kind of, you need drop caches from index. And, perhaps, you can have more indexes. You also can disable
autovaccumand just restart postgres instead of iterating through buffer caches. 

I've asked Thomas about performance implications and he told me that converting stuff to streamlined API is not
expectedto have better performance. It's needed to have decent perfromance when DIRECT_IO will be involved. 

Thanks!


Best regards, Andrey Borodin.


pgsql-hackers by date:

Previous
From: Maxim Orlov
Date:
Subject: Re: Forbid to DROP temp tables of other sessions
Next
From: Junwang Zhao
Date:
Subject: Re: general purpose array_sort