Re: Maybe we should reduce SKIP_PAGES_THRESHOLD a bit?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Cc: Tomas Vondra <tomas(at)vondra(dot)me>, Peter Geoghegan <pg(at)bowt(dot)ie>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Maybe we should reduce SKIP_PAGES_THRESHOLD a bit?
Date: 2024-12-17 17:52:26
Message-ID: CA+TgmoYog3UDmB5nEeAnG7S+awNDCe1ddK=Sv0J_F4n+vdibew@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Dec 17, 2024 at 12:06 PM Melanie Plageman
<melanieplageman(at)gmail(dot)com> wrote:
> I think your tests show SKIP_PAGES_THRESHOLD has dubious if any
> benefit related to readahead. But the question is if we care about it
> for advancing relfrozenxid for small tables.

It seems like relfrozenxid advancement is really only a problem for
big tables. If the table is small, the eventual aggressive vacuum
doesn't cost that much.

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2024-12-17 17:57:13 Re: Exceptional md.c paths for recovery and zero_damaged_pages
Previous Message Masahiko Sawada 2024-12-17 17:48:22 Fix crash when non-creator being an iteration on shared radix tree