Re: forcing compression of text field

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: Jonathan Ellis <jonathan(at)utahpython(dot)org>
Cc: pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: forcing compression of text field
Date: 2006-12-11 23:32:12
Message-ID: 1165879932.3243.110.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bob Pawley 2006-12-11 23:42:20 Re: Geometric Types
Previous Message philip johnson 2006-12-11 23:08:46 Re: tsearch2 and pdf files