pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Csaba Nagy <nagy@ecircle-ag.com>
To: yoursoft@freemail.hu <yoursoft@freemail.hu>
Cc: Postgres JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: JDBC driver bug?
Date: Thu, 22 Sep 2005 15:35:57 +0200
Message-ID: <1127396157.3026.222.camel@coppola.muc.ecircle.de> (raw)
In-Reply-To: <4332B0B8.40809@freemail.hu>
References: <4332B0B8.40809@freemail.hu>

This kind of problems usually are caused by your network/networking code
and not postgres itself. I bet there's some DNS resolution overhead and
the different java versions you're using have different DNS
resolution/caching policies. I would take a look at DNS as a first
suspect.

HTH,
Csaba.


On Thu, 2005-09-22 at 15:25, yoursoft@freemail.hu wrote:
> Dear Developers,
> 
> First, sorry my bad English.
> My platform:
> - postgresql 8.0.3 and 8.0.0 with SuSE Linux.
> - java 1.5 update 4 (problem with it), java 1.4.2 (working without problem)
> - jdbc 3 driver 312 (latest stable)
> 
> I found the following problem:
> If I connect to the database from local host with java 1.5, or with java 
> 1.4.2 from other box everything is good (connection time <1 sec).
> When I connect to the database on other box, there is slow connection 
> (5-6 sec).
> 
> If you have any other question, please mail it.
> 
> Regards,
>    Ferenc
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faq




view thread (7+ messages)  latest in thread

Message-ID: <1127396157.3026.222.camel@coppola.muc.ecircle.de>
Permalink:  ../1127396157.3026.222.camel@coppola.muc.ecircle.de/
Also on:    postgresql.org/message-id/1127396157.3026.222.camel@coppola.muc.ecircle.de

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: nagy@ecircle-ag.com, yoursoft@freemail.hu
  Subject: Re: JDBC driver bug?
  In-Reply-To: <1127396157.3026.222.camel@coppola.muc.ecircle.de>
  References: <4332B0B8.40809@freemail.hu> <1127396157.3026.222.camel@coppola.muc.ecircle.de>

* 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