pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nikolas Everett <nik9000@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Kris Jurka <books@ejurka.com>
Cc: Dave Crooke <dcrooke@gmail.com>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-jdbc@postgresql.org, pgsql-performance <pgsql-performance@postgresql.org>
Cc: Scott Carey <scott@richrelevance.com>
Subject: Re: SOLVED ... Re: Getting rid of a cursor from JDBC .... Re: [PERFORM] Re: HELP: How to tame the 8.3.x JDBC driver with a biq guery result set
Date: Wed, 21 Apr 2010 11:30:26 -0400
Message-ID: <24144.1271863826@sss.pgh.pa.us> (raw)
In-Reply-To: <q2qd4e11e981004210807ua364abbbua4ae2fb0a91ac053@mail.gmail.com>
References: <q2sca24673e1004191633j10b1124amf1eb51f3bd84f19a@mail.gmail.com>
	<4BCD73AF0200002500030BC2@gw.wicourts.gov>
	<w2kca24673e1004200847k77429a1cra0a6f3560d407d8e@mail.gmail.com>
	<4BCD90D80200002500030BDD@gw.wicourts.gov>
	<x2zca24673e1004201229n653f4e69vd274af4a4aa22d09@mail.gmail.com>
	<4BCDC6B90200002500030C09@gw.wicourts.gov>
	<w2oca24673e1004201340p703b0121iaf852aa28695be65@mail.gmail.com>
	<alpine.BSO.2.00.1004201644280.6736@leary.csoft.net>
	<g2w603c8f071004210741y69db6e92p5a7d18c4fc2940a@mail.gmail.com>
	<q2qd4e11e981004210807ua364abbbua4ae2fb0a91ac053@mail.gmail.com>

>> On Tue, Apr 20, 2010 at 5:05 PM, Kris Jurka <books@ejurka.com> wrote:
>>> ... There are three ways to plan a PreparedStatement:

FWIW, I think there is some consensus to experiment (in the 9.1 cycle)
with making the server automatically try replanning of parameterized
queries with the actual parameter values substituted.  It'll keep doing
so if it finds that that produces a significantly better plan than the
generic parameterized plan; which is what you'd expect if there's a
chance to optimize a LIKE search, eliminate partitions, etc.

			regards, tom lane



view thread (16+ messages)  latest in thread

Message-ID: <24144.1271863826@sss.pgh.pa.us>
Permalink:  ../24144.1271863826@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24144.1271863826@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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, nik9000@gmail.com, robertmhaas@gmail.com, books@ejurka.com, dcrooke@gmail.com, Kevin.Grittner@wicourts.gov, scott@richrelevance.com
  Subject: Re: SOLVED ... Re: Getting rid of a cursor from JDBC .... Re: [PERFORM] Re: HELP: How to tame the 8.3.x JDBC driver with a biq guery result set
  In-Reply-To: <24144.1271863826@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