pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Reuven M. Lerner <reuven@lerner.co.il>
To: Dave Cramer <pg@fastcrypt.com>
Cc: List <pgsql-jdbc@postgresql.org>
Cc: kim+pg@alleroedderne.adsl.dk
Subject: Re: Bound parameters on Linux are extremely slow (compared to unbound and/or Windows)
Date: Tue, 25 Jun 2013 15:55:50 +0300
Message-ID: <51C99356.8000004@lerner.co.il> (raw)
In-Reply-To: <CADK3HH+coLGO3qe0TrKcQXUTKum-0bZzuBv_iNy1=Zv6AbtAZg@mail.gmail.com>
References: <51A14091.7040909@lerner.co.il>
	<CADK3HH+p-z3pyCmUCBqQysUP1ePU=s2sGvksMkZQ008mXNv0xQ@mail.gmail.com>
	<51A14769.1080409@lerner.co.il>
	<CADK3HH+A4RiLOhSRwaEFP1gTBRSEHeCxMsYG-cgDokigJ6wUgA@mail.gmail.com>
	<51A14D8C.7010201@lerner.co.il>
	<CADK3HHL0pEZB7-m+8MwHCHPr=RUvhY6jYrCKf1ZsjsGUUNXqcg@mail.gmail.com>
	<51C9907A.9030108@lerner.co.il>
	<CADK3HH+coLGO3qe0TrKcQXUTKum-0bZzuBv_iNy1=Zv6AbtAZg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Hi, Dave. You wrote:
>
> Postgresql version < 9.2 suffers from a problem with bound parameters
> where the planner does not choose a good plan with bound parameters. If
> I were a betting man I would bet that your linux box is not running
> version > 9.2
>
> select version() will confirm

We're actually running 9.2.  But your note only talked about < 9.2 and > 
9.2, so I'm not sure where that leaves us...

Should we try the 9.3 beta?

Also, would that account for the differences between Windows and Linux?

Reuven

-- 
Reuven M. Lerner -- Web development, consulting, and training
Mobile: +972-54-496-8405 * US phone: 847-230-9795
http://lerner.co.il * Skype/AIM: reuvenlerner


-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (14+ messages)  latest in thread

Message-ID: <51C99356.8000004@lerner.co.il>
Permalink:  ../51C99356.8000004@lerner.co.il/
Also on:    postgresql.org/message-id/51C99356.8000004@lerner.co.il

 · 

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: reuven@lerner.co.il, pg@fastcrypt.com, kim+pg@alleroedderne.adsl.dk
  Subject: Re: Bound parameters on Linux are extremely slow (compared to unbound and/or Windows)
  In-Reply-To: <51C99356.8000004@lerner.co.il>
  References: <51A14091.7040909@lerner.co.il> <CADK3HH+p-z3pyCmUCBqQysUP1ePU=s2sGvksMkZQ008mXNv0xQ@mail.gmail.com> <51A14769.1080409@lerner.co.il> <CADK3HH+A4RiLOhSRwaEFP1gTBRSEHeCxMsYG-cgDokigJ6wUgA@mail.gmail.com> <51A14D8C.7010201@lerner.co.il> <CADK3HHL0pEZB7-m+8MwHCHPr=RUvhY6jYrCKf1ZsjsGUUNXqcg@mail.gmail.com> <51C9907A.9030108@lerner.co.il> <CADK3HH+coLGO3qe0TrKcQXUTKum-0bZzuBv_iNy1=Zv6AbtAZg@mail.gmail.com> <51C99356.8000004@lerner.co.il>

* 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