JDBC driver bug?

Поиск
Список
Период
Сортировка
Искать

JDBC driver bug?

От:
"yoursoft@freemail.hu" <yoursoft@freemail.hu>
Дата:
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

Re: JDBC driver bug?

От:
Csaba Nagy <nagy@ecircle-ag.com>
Дата:
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

FAQ