Re: R: space taken by a row & compressed data

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Leonardo Francalanci <lfrancalanci(at)simtel(dot)ie>, pgsql-general(at)postgresql(dot)org
Subject: Re: R: space taken by a row & compressed data
Date: 2004-08-26 16:34:29
Message-ID: 23543.1093538069@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> However, as integers, there would have to be a lot of duplicate values
> before compression would be a win.

Not necessarily. If for instance most of the values fit in int2, then
the upper zero bytes would be fodder for compression. (If they *all*
fit in int2 then of course he's missing a trick...) The fact that they
are successfully using row compression on their old platform indicates
that there's some win available there.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Wheeler 2004-08-26 16:36:20 Re: UTF-8 and LIKE vs =
Previous Message Tom Lane 2004-08-26 16:23:50 Re: R: space taken by a row & compressed data