forcing compression of text field - Mailing list pgsql-general

From Jonathan Ellis
Subject forcing compression of text field
Date
Msg-id e06563880612110818s20d5f2a2sb9c469c2d87567e3@mail.gmail.com
Whole thread Raw
Responses Re: forcing compression of text field  (Jeff Davis <pgsql@j-davis.com>)
Re: forcing compression of text field  (Scott Marlowe <smarlowe@g2switchworks.com>)
Re: forcing compression of text field  (Ron Johnson <ron.l.johnson@cox.net>)
List pgsql-general
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?

--
Jonathan Ellis
http://spyced.blogspot.com

pgsql-general by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: tsearch2 and pdf files
Next
From: Bruce Momjian
Date:
Subject: Re: concatenation operator || with "null" array