Re: Very strange performance decrease when reusing a PreparedStatement - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: Very strange performance decrease when reusing a PreparedStatement
Date
Msg-id 29597.1241649548@sss.pgh.pa.us
Whole thread Raw
In response to Re: Very strange performance decrease when reusing a PreparedStatement  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Very strange performance decrease when reusing a PreparedStatement  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Very strange performance decrease when reusing a PreparedStatement
Next
From: Daniel Migowski
Date:
Subject: Re: Thread hangs in VisibleBufferedInputStream.readMore