From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Jan Wieck <JanWieck@Yahoo.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL HACKERS <pgsql-hackers@postgresql.org>
Subject: Re: Re: [SQL] Re: [GENERAL] lztext and compression ratios...
Date: Mon, 10 Jul 2000 17:32:35 -0400 (EDT)
Message-ID: <200007102132.RAA03602@candle.pha.pa.us> (raw)
In-Reply-To: <200007101511.RAA11221@hot.jw.home>
> Compressor | level | heap size | toastrel | toastidx | seconds
> | | | size | size |
> -----------+-------+-----------+----------+----------+--------
> PGLZ | - | 425,984 | 950,272 | 32,768 | 5.20
> zlib | 1 | 499,712 | 614,400 | 16,384 | 6.85
> zlib | 3 | 499,712 | 557,056 | 16,384 | 6.75
> zlib | 6 | 491,520 | 524,288 | 16,384 | 7.10
> zlib | 9 | 491,520 | 524,288 | 16,384 | 7.21
Consider that the 25% slowness gets us a 35% disk reduction, and that
translates to fewer buffer blocks and disk accesses. Seems there is a
clear tradeoff there.
> If replacing the compressor/decompressor can cause a runtime
> difference of 25% in such a scenario, the pure difference
> between the two methods must be alot.
>
> Leave PGLZ in place as the default compressor for toastable
> types. Speed is what all benchmarks talk about - on disk
> storage size is seldom a minor note.
True, disk storage is not the issue, but disk access are an issue.
> We can discuss about enabling zlib as a per attribute
> configurable alternative further. But is the confusion this
> might cause worth it all?
I think we have to choose one proposal.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
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-sql@postgresql.org
Cc: pgman@candle.pha.pa.us, JanWieck@Yahoo.com, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
Subject: Re: [SQL] Re: [GENERAL] lztext and compression ratios...
In-Reply-To: <200007102132.RAA03602@candle.pha.pa.us>
References: <200007101511.RAA11221@hot.jw.home> <200007102132.RAA03602@candle.pha.pa.us>
* 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