Re: Confine vacuum skip logic to lazy_scan_skip

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Tomas Vondra <tomas(at)vondra(dot)me>
Cc: Melanie Plageman <melanieplageman(at)gmail(dot)com>, Noah Misch <noah(at)leadboat(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Nazir Bilal Yavuz <byavuz81(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru>
Subject: Re: Confine vacuum skip logic to lazy_scan_skip
Date: 2025-01-18 21:45:59
Message-ID: CA+hUKGKpq06A5=u5Fcx6B4t6QJxJp=E2jtxL6cZwY1N3ZbeU4w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jan 19, 2025 at 10:31 AM Thomas Munro <thomas(dot)munro(at)gmail(dot)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...

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2025-01-18 22:04:15 Re: Confine vacuum skip logic to lazy_scan_skip
Previous Message Andrew Dunstan 2025-01-18 21:45:00 Re: [PATCH] Fix jsonb comparison for raw scalar pseudo arrays