Re: Patch proposal - parameter to limit amount of FPW because of hint bits per second

From: Michail Nikolaev <michail(dot)nikolaev(at)gmail(dot)com>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch proposal - parameter to limit amount of FPW because of hint bits per second
Date: 2022-03-21 07:58:23
Message-ID: CANtu0oijDRJQ+UiMfEYgm_ua4U14yts+8CXBdPZQsNZbyM6jxw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello, Peter.

> * Instead of avoiding the FPI when this happens, proactively call
> _bt_simpledel_pass() just before _bt_killitems() returns. Accept the
> immediate cost of setting an LP_DEAD bit, just like today, but avoid
> repeated FPIs.

Hm, not sure here
AFAIK current implementation does not produce repeated FPIs. Page is
marked as dirty on the first bit. So, others LP_DEAD (if not set by
single scan) do not generate FPI until checkpoint is ready.
Also, the issue affects GITS and HASH indexes and HEAP pages.

Best regards,
Michail.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dilip Kumar 2022-03-21 08:13:34 Re: Support logical replication of DDLs
Previous Message Jian Guo 2022-03-21 07:50:38 Re: Summary Sort workers Stats in EXPLAIN ANALYZE