Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group