pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <scott.marlowe@gmail.com>
To: Craig Ringer <craig@postnewspapers.com.au>
Cc: Dave Crooke <dcrooke@gmail.com>
Cc: David Newall <postgresql@davidnewall.com>
Cc: pgsql-performance@postgresql.org
Cc: robertmhaas@gmail.com
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: GZIP of pre-zipped output
Date: Sun, 21 Mar 2010 21:00:31 -0600
Message-ID: <dcc563d11003212000t313a20d2v47b3e9c9531940b5@mail.gmail.com> (raw)
In-Reply-To: <4BA6DA08.4010201@postnewspapers.com.au>
References: <ca24673e1003211004l68237f72r101eb04082f8e288@mail.gmail.com>
	<4BA6DA08.4010201@postnewspapers.com.au>

On Sun, Mar 21, 2010 at 8:46 PM, Craig Ringer
<craig@postnewspapers.com.au> wrote:
> On 22/03/2010 1:04 AM, Dave Crooke wrote:
>>
>> If you are really so desparate to save a couple of GB that you are
>> resorting to -Z9 then I'd suggest using bzip2 instead.
>>
>> bzip is designed for things like installer images where there will be
>> massive amounts of downloads, so it uses a ton of cpu during
>> compression, but usually less than -Z9 and makes a better result.
>
> bzip2 doesn't work very well on gzip'd (deflated) data, though. For good
> results, you'd want to feed it uncompressed data, which is a bit of a pain
> when the compression is part of the PDF document structure and when you
> otherwise want the PDFs to remain compressed.
>
> Anyway, if you're going for extreme compression, these days 7zip is often a
> better option than bzip2.

There's often a choice of two packages, 7z, and 7za, get 7za, it's the
later model version.



view thread (3+ messages)

Message-ID: <dcc563d11003212000t313a20d2v47b3e9c9531940b5@mail.gmail.com>
Permalink:  ../dcc563d11003212000t313a20d2v47b3e9c9531940b5@mail.gmail.com/
Also on:    postgresql.org/message-id/dcc563d11003212000t313a20d2v47b3e9c9531940b5@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: scott.marlowe@gmail.com, craig@postnewspapers.com.au, dcrooke@gmail.com, postgresql@davidnewall.com, robertmhaas@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: GZIP of pre-zipped output
  In-Reply-To: <dcc563d11003212000t313a20d2v47b3e9c9531940b5@mail.gmail.com>
  References: <ca24673e1003211004l68237f72r101eb04082f8e288@mail.gmail.com> <4BA6DA08.4010201@postnewspapers.com.au> <dcc563d11003212000t313a20d2v47b3e9c9531940b5@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox