Re: Slow statement when using JDBC - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Slow statement when using JDBC
Date
Msg-id CADK3HHJPrTev-iVwpvGm7_ZnhHaC5ou0dhjBVYN6sLY6x=mdpw@mail.gmail.com
Whole thread Raw
In response to Re: Slow statement when using JDBC  ("vjai.krishnan" <vijay.kanbu@gmail.com>)
Responses Re: Slow statement when using JDBC
List pgsql-jdbc
The best way to figure this out is to look at the server logs.

In order to figure this out we need more information. What exactly does your code do ?



Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


On 21 July 2014 09:04, vjai.krishnan <vijay.kanbu@gmail.com> wrote:
I am using postgresql 9.1 version. Executing a query without using prepared
statement via jdbc driver to postgresql database takes double the time than
that of psql client. Is there any specific reason for this slowness in using
jdbc driver?



--
View this message in context: http://postgresql.1045698.n5.nabble.com/Slow-statement-when-using-JDBC-tp3368379p5812195.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.


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

pgsql-jdbc by date:

Previous
From: "vjai.krishnan"
Date:
Subject: Re: Slow statement when using JDBC
Next
From: "vjai.krishnan"
Date:
Subject: Re: Slow statement when using JDBC