pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jim C. Nasby <jnasby@pervasive.com>
Cc: Ludek Finstrle <luf@pzkagis.cz>
Cc: pgsql-admin@postgresql.org
Subject: Re: Maximum text and bytea size?
Date: Thu, 08 Jun 2006 11:55:02 -0400
Message-ID: <28212.1149782102@sss.pgh.pa.us> (raw)
In-Reply-To: <20060608153750.GN45331@pervasive.com>
References: <20060608091802.GA32622@soptik.pzkagis.cz>
	<20060608153750.GN45331@pervasive.com>

"Jim C. Nasby" <jnasby@pervasive.com> writes:
> On Thu, Jun 08, 2006 at 11:18:02AM +0200, Ludek Finstrle wrote:
>> I read this value in TOAST section. Is my opinion correct?

> From http://www.postgresql.org/docs/8.1/interactive/storage-toast.html:
> "TOAST usurps the high-order two bits of the varlena length word,
> thereby limiting the logical size of any value of a TOAST-able data type
> to 1Gb (2^30 - 1 bytes)."

> There was a proposal made some time ago to allow for a variable-length
> length word format, where one of the bits in each word would specify
> that there was an additional length word.

Hm, I don't remember that.  It seems rather pointless, as I'm quite sure
that the *practical* limit is a great deal less than 1Gb.  Has anyone
done any performance testing of GB-sized toasted values?

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <28212.1149782102@sss.pgh.pa.us>
Permalink:  ../28212.1149782102@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28212.1149782102@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jnasby@pervasive.com, luf@pzkagis.cz
  Subject: Re: Maximum text and bytea size?
  In-Reply-To: <28212.1149782102@sss.pgh.pa.us>
  References: <20060608091802.GA32622@soptik.pzkagis.cz> <20060608153750.GN45331@pervasive.com> <28212.1149782102@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