Re: forcing compression of text field - Mailing list pgsql-general

From Scott Marlowe
Subject Re: forcing compression of text field
Date
Msg-id 1165879932.3243.110.camel@state.g2switchworks.com
Whole thread Raw
In response to forcing compression of text field  ("Jonathan Ellis" <jonathan@utahpython.org>)
Responses Re: forcing compression of text field  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Mon, 2006-12-11 at 10:18, Jonathan Ellis wrote:
> I have a table of log messages.  They are mostly in the 100-200
> character length, which apparently isn't large enough for PG to want
> to compress it (length == octet_length).  I really need to save disk
> space.  I can store it as a bytea and compress it manually (zlib level
> 1 compression gives about 50% savings), but is there a way to force
> pg's own compression before I resort to this?

http://www.postgresql.org/docs/8.1/interactive/storage-toast.html

Has all your answers.

pgsql-general by date:

Previous
From: SCassidy@overlandstorage.com
Date:
Subject: Re: shell script to populate array values
Next
From: Bob Pawley
Date:
Subject: Re: Geometric Types