pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jesper Krogh <jesper@krogh.cc>
To: Shaul Dar <shauldar@gmail.com>
To: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Compression in PG
Date: Sun, 01 Nov 2009 16:45:35 +0100
Message-ID: <4AEDAD1F.6050602@krogh.cc> (raw)
In-Reply-To: <234efe30911010651k6cf3d398t9d61e560d57b52b7@mail.gmail.com>
References: <234efe30911010651k6cf3d398t9d61e560d57b52b7@mail.gmail.com>

Shaul Dar wrote:
> Hi,
> 
> I have several long text fields in my DB that I would love to compress
> (descriptions, URLs etc). Can you tell me what options exists in PG
> (+pointers please), typical effect on space and run time?

variable length text fields .. e.g TEXT will automatically be stored in
a TOAST table and compressed. Search the manual for toast.

-- 
Jesper



view thread (9+ messages)  latest in thread

Message-ID: <4AEDAD1F.6050602@krogh.cc>
Permalink:  ../4AEDAD1F.6050602@krogh.cc/
Also on:    postgresql.org/message-id/4AEDAD1F.6050602@krogh.cc

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: jesper@krogh.cc, shauldar@gmail.com
  Subject: Re: Compression in PG
  In-Reply-To: <4AEDAD1F.6050602@krogh.cc>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox