Re: [SQL] EXTERNAL storage and substring on long strings

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jan Wieck <JanWieck(at)Yahoo(dot)com>
Cc: Scott Cain <cain(at)cshl(dot)org>, PgSQL Performance ML <pgsql-performance(at)postgresql(dot)org>, pgsql-sql(at)postgresql(dot)org
Subject: Re: [SQL] EXTERNAL storage and substring on long strings
Date: 2003-08-14 18:00:21
Message-ID: 6311.1060884021@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance pgsql-sql

Jan Wieck <JanWieck(at)Yahoo(dot)com> writes:
> Doesn't look that unrealistic to me. A plain text based substring
> function will reassemble the whole beast first before cutting out the
> wanted part. His manually chunked version will read only those chunks
> needed.

So does substr(), if applied to EXTERNAL (non-compressed) toasted text.
See John Gray's improvements a release or two back.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Rod Taylor 2003-08-14 18:04:58 Re: Vacuum performance question
Previous Message Jeremy M. Guthrie 2003-08-14 17:55:32 Vacuum performance question

Browse pgsql-sql by date

  From Date Subject
Next Message Scott Cain 2003-08-14 18:11:07 Re: [SQL] EXTERNAL storage and substring on long strings
Previous Message Christoph Haller 2003-08-14 15:18:03 Re: Changing data type must recreate all views?