Re: Fix bank selection logic in SLRU - Mailing list pgsql-hackers

From Andrey M. Borodin
Subject Re: Fix bank selection logic in SLRU
Date
Msg-id CA5F87CD-3D3D-482E-84B3-ABB4DE0C7AB8@yandex-team.ru
Whole thread Raw
In response to Re: Fix bank selection logic in SLRU  (Dilip Kumar <dilipbalaut@gmail.com>)
List pgsql-hackers

> On 10 Dec 2024, at 16:58, Dilip Kumar <dilipbalaut@gmail.com> wrote:
>
> slru buffers are in multiple of 16(bank size)

Yes, my example with 64 buffers is incorrect.
The worst case scenario is when user configures 80, 144, 528 or 1040 buffers, but only two banks (32 buffers) will be
used.


Best regards, Andrey Borodin.


pgsql-hackers by date:

Previous
From: Jim Jones
Date:
Subject: Re: XMLDocument (SQL/XML X030)
Next
From: Peter Eisentraut
Date:
Subject: Re: SQL:2011 application time