pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Riggs <simon@2ndQuadrant.com>
Cc: Roland Roberts <roland@astrofoto.org>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Very strange performance decrease when reusing a PreparedStatement
Date: Wed, 06 May 2009 18:39:08 -0400
Message-ID: <29597.1241649548@sss.pgh.pa.us> (raw)
In-Reply-To: <1241647194.6109.52.camel@ebony.2ndQuadrant>
References: <5C2E1645-73B6-4509-96CD-FA77869516AB@noopsis.fr>
	<49F71EDD.2070200@opencloud.com>
	<02437794-A78D-449C-843F-B823195F9623@noopsis.fr>
	<fdeb32eb0905030122t665113e5nd34e7268d9ab1863@mail.gmail.com>
	<491f66a50905030310j5b4cdcd8jbf4f6e757c2ba580@mail.gmail.com>
	<fdeb32eb0905030928j4e72f1e3vbecb78d0cb74be58@mail.gmail.com>
	<49FDEB97.6050800@astrofoto.org>
	<1241647194.6109.52.camel@ebony.2ndQuadrant>

Simon Riggs <simon@2ndQuadrant.com> writes:
> We talked a few years back about an "Option node" that would select
> sub-plans at runtime based upon the actual values of the bind variable.
> Nobody's got around to doing anything with that yet.

There is an AlternativeSubPlan mechanism in 8.4, though we're not doing
very much with it yet.

			regards, tom lane



view thread (26+ messages)  latest in thread

Message-ID: <29597.1241649548@sss.pgh.pa.us>
Permalink:  ../29597.1241649548@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29597.1241649548@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-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, simon@2ndQuadrant.com, roland@astrofoto.org
  Subject: Re: Very strange performance decrease when reusing a PreparedStatement
  In-Reply-To: <29597.1241649548@sss.pgh.pa.us>
  References: <5C2E1645-73B6-4509-96CD-FA77869516AB@noopsis.fr> <49F71EDD.2070200@opencloud.com> <02437794-A78D-449C-843F-B823195F9623@noopsis.fr> <fdeb32eb0905030122t665113e5nd34e7268d9ab1863@mail.gmail.com> <491f66a50905030310j5b4cdcd8jbf4f6e757c2ba580@mail.gmail.com> <fdeb32eb0905030928j4e72f1e3vbecb78d0cb74be58@mail.gmail.com> <49FDEB97.6050800@astrofoto.org> <1241647194.6109.52.camel@ebony.2ndQuadrant> <29597.1241649548@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