Re: gist microvacuum doesn't appear to care about hot standby?

Peter Geoghegan <pg@bowt.ie>

From: Peter Geoghegan <pg@bowt.ie>
To: Alexander Korotkov <a.korotkov@postgrespro.ru>
Cc: Andres Freund <andres@anarazel.de>, pgsql-hackers <pgsql-hackers@postgresql.org>, Teodor Sigaev <teodor@sigaev.ru>, Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Date: 2018-12-17T19:48:16Z
Lists: pgsql-hackers
On Sun, Dec 16, 2018 at 4:41 PM Alexander Korotkov
<a.korotkov@postgrespro.ru> wrote:
> I thought about that, but decided it's better to mimic B-tree and hash
> behavior rather than invent new logic in a minor release.  But given
> that new WAL record in minor release in substantial problem, that
> argument doesn't matter.

It might be better to mimic B-Tree and hash on the master branch.

-- 
Peter Geoghegan


Commits

  1. Convert gist to compute page level xid horizon on primary.

  2. Compute XID horizon for page level index vacuum on primary.

  3. Check for conflicting queries during replay of gistvacuumpage()

  4. Microvacuum for GIST