Re: Page freezing, FSM, and WAL replay

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Page freezing, FSM, and WAL replay
Date: 2018-08-07 16:19:13
Message-ID: 20180807161913.4une6h7awx4z6qgk@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2018-Aug-02, Alvaro Herrera wrote:

> After considering several possible solutions, I propose to have
> heap_xlog_visible compute free space for any page being marked frozen;
> Pavan adds to that to have heap_xlog_clean compute free space for all
> pages also. This means that if we later promote this standby and VACUUM
> skips all-frozen pages, their FSM numbers are going to be up-to-date
> anyway. Patch attached.

Now that the minors have been tagged, I'm considering pushing this
shortly to 9.6 - master.

Thanks

--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2018-08-07 16:21:57 Re: [HACKERS] WIP Patch: Pgbench Serialization and deadlock errors
Previous Message Stephen Frost 2018-08-07 16:05:08 Re: Standby trying "restore_command" before local WAL