Re: Quick-and-dirty compression for WAL backup blocks - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Quick-and-dirty compression for WAL backup blocks
Date
Msg-id 20050601142432.GA23593@surnet.cl
Whole thread Raw
In response to Re: Quick-and-dirty compression for WAL backup blocks  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, Jun 01, 2005 at 10:12:34AM -0400, Tom Lane wrote:
> "Mark Cave-Ayland" <m.cave-ayland@webbased.co.uk> writes:
> > I also noticed your comment above that mentioned that compression would be
> > less effective as the pages became more full. Would changing the loading
> > factor of database pages have an effect here, as I would have thought that
> > the WAL would be fsync'd more aggressively than the heap?
> 
> Yeah, it's predictable that leaving more free space per page would make
> the optimization more effective.

But it would also increase the number of pages, so maybe there would
have to be block dumps more often, which may make the whole thing worse
on average.

-- 
Alvaro Herrera (<alvherre[a]surnet.cl>)
"La realidad se compone de muchos sueños, todos ellos diferentes,
pero en cierto aspecto, parecidos..." (Yo, hablando de sueños eróticos)


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: NOLOGGING option, or ?
Next
From: "Brusser, Michael"
Date:
Subject: fdatasync failed, I/O error