> On 1 Nov 2024, at 12:51, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com> wrote:
>
> am not
> sure whether 'BufferStrategyControl.lastFreeBuffer -
> BufferStrategyControl.firstFreeBuffer' is safe to use.
Ugh... it will work. But it seems to me too dirty hack. There's no scalable way to know size of a free list.
Let's just comment that we might read some more buffers if database does not fit into memory?
Alternatively we can count size of a free list on the start.
Best regards, Andrey Borodin.