Re: [PATCHES] Full page writes improvement, code update - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: [PATCHES] Full page writes improvement, code update
Date
Msg-id 200703291145.28574.josh@agliodbs.com
Whole thread Raw
In response to Re: [PATCHES] Full page writes improvement, code update  ("Simon Riggs" <simon@2ndquadrant.com>)
Responses Re: [PATCHES] Full page writes improvement, code update
List pgsql-hackers
Simon,

> OK, different question:
> Why would anyone ever set full_page_compress = off?

The only reason I can see is if compression costs us CPU but gains RAM &
I/O.  I can think of a lot of applications ... benchmarks included ...
which are CPU-bound but not RAM or I/O bound.  For those applications,
compression is a bad tradeoff.

If, however, CPU used for compression is made up elsewhere through smaller
file processing, then I'd agree that we don't need a switch.

--
--Josh

Josh Berkus
PostgreSQL @ Sun
San Francisco

pgsql-hackers by date:

Previous
From: "Dezso Zoltan"
Date:
Subject: Re: Server-side support of all encodings
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Server-side support of all encodings