pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stef <svb@ucs.co.za>
Cc: pgsql-performance@postgresql.org
Subject: Re: Compression of text columns
Date: Mon, 10 Oct 2005 10:38:08 -0400
Message-ID: <20646.1128955088@sss.pgh.pa.us> (raw)
In-Reply-To: <20051010141721.0bebbaa7@svb.ucs.co.za>
References: <20051010141721.0bebbaa7@svb.ucs.co.za>

Stef <svb@ucs.co.za> writes:
> I saw that the default storage type for text columns is
> "EXTENDED" which, according to the documentation, uses up extra
> space to make possible substring functioning faster. 

You misread it.  EXTENDED does compression by default on long strings.
EXTERNAL is the one that suppresses compression.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <20646.1128955088@sss.pgh.pa.us>
Permalink:  ../20646.1128955088@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20646.1128955088@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, svb@ucs.co.za
  Subject: Re: Compression of text columns
  In-Reply-To: <20646.1128955088@sss.pgh.pa.us>

* 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