Re: Proposal for CSN based snapshots - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Proposal for CSN based snapshots
Date
Msg-id 20140515183436.GD25053@momjian.us
Whole thread Raw
In response to Re: Proposal for CSN based snapshots  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: Proposal for CSN based snapshots  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Mon, May 12, 2014 at 06:01:59PM +0300, Heikki Linnakangas wrote:
> >Some of the stuff in here will be influence whether your freezing
> >replacement patch gets in. Do you plan to further pursue that one?
> 
> Not sure. I got to the point where it seemed to work, but I got a
> bit of a cold feet proceeding with it. I used the page header's LSN
> field to define the "epoch" of the page, but I started to feel
> uneasy about it. I would be much more comfortable with an extra
> field in the page header, even though that uses more disk space. And
> requires dealing with pg_upgrade.

FYI, pg_upgrade copies pg_clog from the old cluster, so there will be a
pg_upgrade issue anyway.

I am not excited about a 32x increase in clog size, especially since we
already do freezing at 200M transactions to allow for more aggressive
clog trimming.  Extrapolating that out, it means we would freeze every
6.25M transactions.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



pgsql-hackers by date:

Previous
From: Jeff Janes
Date:
Subject: pg_dump warnings in MinGW build
Next
From: Bruce Momjian
Date:
Subject: Re: New timezones used in regression tests