pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: Scott Cain <cain@cshl.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PgSQL Performance ML <pgsql-performance@postgresql.org>
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] EXTERNAL storage and substring on long strings
Date: Mon, 04 Aug 2003 13:29:56 -0700
Message-ID: <3F2EC244.9040107@joeconway.com> (raw)
In-Reply-To: <1060014341.1434.53.camel@localhost.localdomain>
References: <1059679600.1429.41.camel@localhost.localdomain>
	<3F297CBA.1080703@joeconway.com>
	<1059686498.7505.558.camel@haggis>
	<1060010735.1433.26.camel@localhost.localdomain>
	<3574.1060012423@sss.pgh.pa.us>
	<1060014341.1434.53.camel@localhost.localdomain>

Scott Cain wrote:
> On Mon, 2003-08-04 at 11:53, Tom Lane wrote:
>>I find it really, really hard to believe that a crude reimplementation
>>in plpgsql of the TOAST concept could beat the built-in implementation
>>at all, let alone beat it by two orders of magnitude.
>>
>>Either there's something unrealistic about your testing of the
>>dna_string function, or your original tests are not causing TOAST to be
>>invoked in the expected way, or there's a bug we need to fix.  I'd
>>really like to see some profiling of the poor-performing
>>external-storage case, so we can figure out what's going on.
> 
> I was really hoping for a "Good job and glad to hear it" from you :-)
> 
> I don't think there is anything unrealistic about my function or its
> testing, as it is very much along the lines of the types of things we do
> now.  I will really try to do some profiling this week to help figure
> out what is going on.

Is there a sample table schema and dataset available (external-storage 
case) that we can play with?

Joe




view thread (31+ messages)  latest in thread

Message-ID: <3F2EC244.9040107@joeconway.com>
Permalink:  ../3F2EC244.9040107@joeconway.com/
Also on:    postgresql.org/message-id/3F2EC244.9040107@joeconway.com

 · 

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-sql@postgresql.org
  Cc: mail@joeconway.com, cain@cshl.org, tgl@sss.pgh.pa.us, pgsql-performance@postgresql.org
  Subject: Re: [SQL] EXTERNAL storage and substring on long strings
  In-Reply-To: <3F2EC244.9040107@joeconway.com>

* 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