pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Barry Lind <blind@xythos.com>
Cc: pgsql-performance@postgresql.org
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Performance problem using V3 protocol in jdbc driver
Date: Wed, 17 Aug 2005 01:01:45 -0400
Message-ID: <12037.1124254905@sss.pgh.pa.us> (raw)
In-Reply-To: <03E7D3E231BB7B4A915A6581D4296CC6015D534E@NSNOVPS00411.nacio.xythos.com>
References: <03E7D3E231BB7B4A915A6581D4296CC6015D534E@NSNOVPS00411.nacio.xythos.com>

"Barry Lind" <blind@xythos.com> writes:
> ...  On a hunch I switched the jdbc driver to using the V2 protocol
> and the load on the machine dropped down to what it was when using
> Oracle and everything was fine.

First knee-jerk reaction is that it's an optimization problem stemming
from V3 protocol feeding parameterized queries to the backend where V2
did not, and the planner being unable to cope :-(

Can you identify the specific queries causing the problem?

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <12037.1124254905@sss.pgh.pa.us>
Permalink:  ../12037.1124254905@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/12037.1124254905@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, blind@xythos.com, pgsql-jdbc@postgresql.org
  Subject: Re: Performance problem using V3 protocol in jdbc driver
  In-Reply-To: <12037.1124254905@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