Re: performance question: protocol v2 vs v3 - Mailing list pgsql-jdbc

From Guillaume Cottenceau
Subject Re: performance question: protocol v2 vs v3
Date
Msg-id m3egsra6ye.fsf@mnc.ch
Whole thread Raw
In response to Re: performance question: protocol v2 vs v3  (Albe Laurenz <laurenz.albe@wien.gv.at>)
List 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


pgsql-jdbc by date:

Previous
From: Albe Laurenz
Date:
Subject: Re: performance question: protocol v2 vs v3
Next
From: rapidtransit440@aol.com
Date:
Subject: Re: Having issues with tests