Unix Technical Forum

JDBC driver bug?

This is a discussion on JDBC driver bug? within the pgsql Interfaces jdbc forums, part of the PostgreSQL category; --> Dear Developers, First, sorry my bad English. My platform: - postgresql 8.0.3 and 8.0.0 with SuSE Linux. - java ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces jdbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-15-2008, 11:38 PM
yoursoft@freemail.hu
 
Posts: n/a
Default JDBC driver bug?

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-15-2008, 11:38 PM
Csaba Nagy
 
Posts: n/a
Default Re: JDBC driver bug?

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



---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:24 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com