Re: Compression of full-page-writes - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Compression of full-page-writes
Date
Msg-id 20140529172129.GH28490@momjian.us
Whole thread Raw
In response to Re: Compression of full-page-writes  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-hackers
On Thu, May 29, 2014 at 11:21:44AM +0100, Simon Riggs wrote:
> > Uh, how would that work if you want to compress the background_FPWs?
> > Use compressed_background_FPWs?
> 
> We've currently got 1 technique for torn page protection, soon to have
> 2 and with a 3rd on the horizon and likely to receive effort in next
> release.
> 
> It seems sensible to have just one parameter to describe the various
> techniques, as suggested. I'm suggesting that we plan for how things
> will look when we have the 3rd one as well.
> 
> Alternate suggestions welcome.

I was just pointing out that we might need compression to be a separate
boolean variable from the type of page tear protection.  I know I am
usually anti-adding-variables, but in this case it seems trying to have
one variable control several things will lead to confusion.

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



pgsql-hackers by date:

Previous
From: Josh Kupershmidt
Date:
Subject: Re: Odd uuid-ossp behavior on smew and shearwater
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCH] Replacement for OSSP-UUID for Linux and BSD