Re: Slow statement when using JDBC

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: "vjai(dot)krishnan" <vijay(dot)kanbu(at)gmail(dot)com>
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Slow statement when using JDBC
Date: 2014-07-21 13:21:57
Message-ID: CADK3HHJPrTev-iVwpvGm7_ZnhHaC5ou0dhjBVYN6sLY6x=mdpw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)kanbu(at)gmail(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message vjai.krishnan 2014-07-21 13:29:54 Re: Slow statement when using JDBC
Previous Message vjai.krishnan 2014-07-21 13:04:05 Re: Slow statement when using JDBC