From: david@lang.hm
To: Guillaume Smet <guillaume.smet@gmail.com>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Scott Carey <scott@richrelevance.com>
Cc: bricklen <bricklen@gmail.com>
Cc: Scott Marlowe <scott.marlowe@gmail.com>
Cc: Merlin Moncure <mmoncure@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Poor plan choice in prepared statement
Date: Thu, 1 Jan 2009 12:24:52 -0800 (PST)
Message-ID: <alpine.DEB.1.10.0901011222190.15026@asgard.lang.hm> (raw)
In-Reply-To: <1d4e0c10901011022v4a1d5eeaidc2692a7729e79df@mail.gmail.com>
References: <33b743250812301059u31ce82faw3d72a38280b37402@mail.gmail.com>
<b42b73150812301142w4483978ahfb819b0313150dbb@mail.gmail.com>
<BDFBB77C9E07BE4A984DAAE981D19F961ACD5F388E@EXVMBX018-1.exch018.msoutlookonline.net>
<2796.1230678149@sss.pgh.pa.us>
<20081231160118.GE3809@alvh.no-ip.org>
<1d4e0c10901011022v4a1d5eeaidc2692a7729e79df@mail.gmail.com>
On Thu, 1 Jan 2009, Guillaume Smet wrote:
> On Wed, Dec 31, 2008 at 5:01 PM, Alvaro Herrera
> <alvherre@commandprompt.com> wrote:
>> I think it has been shown enough times that the performance drop caused
>> by a worse plan can be orders of magnitudes worse than what's gained by
>> producing the plan only once. It does not seem a bad idea to provide a
>> way to carry out only the parse phase, and postpone planning until the
>> parameters have been received.
>
> It's already done in 8.3 for unnamed plans, isn't it?
forgive my ignorance here, but if it's unnamed how can you reference it
later to take advantage of the parsing?
I may just be not understanding the terms being used here.
David Lang
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-performance@postgresql.org
Cc: david@lang.hm, guillaume.smet@gmail.com, alvherre@commandprompt.com, tgl@sss.pgh.pa.us, scott@richrelevance.com, bricklen@gmail.com, scott.marlowe@gmail.com, mmoncure@gmail.com
Subject: Re: Poor plan choice in prepared statement
In-Reply-To: <alpine.DEB.1.10.0901011222190.15026@asgard.lang.hm>
References: <33b743250812301059u31ce82faw3d72a38280b37402@mail.gmail.com> <b42b73150812301142w4483978ahfb819b0313150dbb@mail.gmail.com> <BDFBB77C9E07BE4A984DAAE981D19F961ACD5F388E@EXVMBX018-1.exch018.msoutlookonline.net> <2796.1230678149@sss.pgh.pa.us> <20081231160118.GE3809@alvh.no-ip.org> <1d4e0c10901011022v4a1d5eeaidc2692a7729e79df@mail.gmail.com> <alpine.DEB.1.10.0901011222190.15026@asgard.lang.hm>
* 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