pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndquadrant.com>
To: Stephen Denne <Stephen.Denne@datamail.co.nz>
Cc: Kris Jurka <books@ejurka.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: PostgreSQL - JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: JDBC, prepared queries, and partitioning
Date: Wed, 13 Feb 2008 21:55:56 +0000
Message-ID: <1202939756.16770.517.camel@ebony.site> (raw)
In-Reply-To: <F0238EBA67824444BC1CB4700960CB4804A4F683@dmpeints002.isotach.com>
References: <200802131005.30553.josh@agliodbs.com>
	<Pine.BSO.4.64.0802131348050.27322@leary.csoft.net>
	<1202934864.16770.486.camel@ebony.site>
	<23221.1202935654@sss.pgh.pa.us>
	<1202937222.16770.505.camel@ebony.site>
	<F0238EBA67824444BC1CB4700960CB4804A4F683@dmpeints002.isotach.com>

On Thu, 2008-02-14 at 10:45 +1300, Stephen Denne wrote:
> Simon Riggs wrote
> > ISTM we need a way to say "this query's parameters vary wildly at
> > execution time, so I really need to re-plan it every time".
> 
> If the wild variations don't affect the cost estimate, they won't affect the plan?

Cost estimates are made at planning time. If you don't replan, no, they
won't.

-- 
  Simon Riggs
  2ndQuadrant  http://www.2ndQuadrant.com 




view thread (41+ messages)  latest in thread

Message-ID: <1202939756.16770.517.camel@ebony.site>
Permalink:  ../1202939756.16770.517.camel@ebony.site/
Also on:    postgresql.org/message-id/1202939756.16770.517.camel@ebony.site

 · 

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: simon@2ndquadrant.com, Stephen.Denne@datamail.co.nz, books@ejurka.com, josh@agliodbs.com
  Subject: Re: JDBC, prepared queries, and partitioning
  In-Reply-To: <1202939756.16770.517.camel@ebony.site>
  References: <200802131005.30553.josh@agliodbs.com> <Pine.BSO.4.64.0802131348050.27322@leary.csoft.net> <1202934864.16770.486.camel@ebony.site> <23221.1202935654@sss.pgh.pa.us> <1202937222.16770.505.camel@ebony.site> <F0238EBA67824444BC1CB4700960CB4804A4F683@dmpeints002.isotach.com> <1202939756.16770.517.camel@ebony.site>

* 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