Re: Using read stream in autoprewarm

Поиск
Список
Период
Сортировка
От Andrey M. Borodin
Тема Re: Using read stream in autoprewarm
Дата
Msg-id 84F0A4E0-5EAD-4E5E-AFF5-0788A28B3CDB@yandex-team.ru
обсуждение исходный текст
Ответ на Using read stream in autoprewarm  (Nazir Bilal Yavuz <byavuz81@gmail.com>)
Ответы Re: Using read stream in autoprewarm
Re: Using read stream in autoprewarm
Список pgsql-hackers

> On 8 Aug 2024, at 11:32, Nazir Bilal Yavuz <byavuz81@gmail.com> wrote:
>
> Any feedback would be appreciated.

I've took a look into the patch. It seems to me that you add new block numbers to the read stream until you have
buffers.So when there are no more buffers you will still have some queued blocks. 
Maybe can you change the logic so that number of free buffers must be enough to allocate all blocks in look-ahead
distance?

Thanks!


Best regards, Andrey Borodin.


В списке pgsql-hackers по дате отправления: