Re: performance question: protocol v2 vs v3

From: Guillaume Cottenceau <gc(at)mnc(dot)ch>
To: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
Cc: "pgsql-jdbc\(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: performance question: protocol v2 vs v3
Date: 2014-11-25 10:51:53
Message-ID: m3egsra6ye.fsf@mnc.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Albe Laurenz <laurenz.albe 'at' wien.gv.at> writes:

> Do you you call conn.prepareStatement for each statement, or do
> you reuse the prepared statements? In the latter case, you might see
> better performance with protocol v3.

I recreate one each time. Makes sense, thanks.

--
Guillaume Cottenceau

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message rapidtransit440 2014-11-26 00:29:09 Re: Having issues with tests
Previous Message Albe Laurenz 2014-11-25 10:45:12 Re: performance question: protocol v2 vs v3