X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4A27FD99D6 for ; Mon, 10 Oct 2005 11:38:11 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 67084-04 for ; Mon, 10 Oct 2005 14:38:01 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 1C836D9C82 for ; Mon, 10 Oct 2005 11:38:03 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j9AEc8sk020647; Mon, 10 Oct 2005 10:38:08 -0400 (EDT) To: Stef Cc: pgsql-performance@postgresql.org Subject: Re: Compression of text columns In-reply-to: <20051010141721.0bebbaa7@svb.ucs.co.za> References: <20051010141721.0bebbaa7@svb.ucs.co.za> Comments: In-reply-to Stef message dated "Mon, 10 Oct 2005 14:17:21 +0200" Date: Mon, 10 Oct 2005 10:38:08 -0400 Message-ID: <20646.1128955088@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200510/168 X-Sequence-Number: 14936 Stef 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