Re: Confine vacuum skip logic to lazy_scan_skip - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: Confine vacuum skip logic to lazy_scan_skip
Date
Msg-id CA+hUKGKpq06A5=u5Fcx6B4t6QJxJp=E2jtxL6cZwY1N3ZbeU4w@mail.gmail.com
Whole thread Raw
In response to Re: Confine vacuum skip logic to lazy_scan_skip  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
On Sun, Jan 19, 2025 at 10:31 AM Thomas Munro <thomas.munro@gmail.com> wrote:
> read_stream.c doesn't do that
> sort of multiplication itself,

Actually for completeness there is a place where it allocates local
memory for max I/Os * 4, and that 4 is a not entirely unbogus and
should change to io_combine_limit for the AIO stuff.  Patches in
progress, more soon.  But that'd not be using MAX_IO_COMBINE_LIMIT or
the number of system-wide I/O, it'd be your (usually much smaller)
configured limits.  But I'll write about that with more details in a
new thread...



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: [PATCH] Fix jsonb comparison for raw scalar pseudo arrays
Next
From: Tomas Vondra
Date:
Subject: Re: Confine vacuum skip logic to lazy_scan_skip