If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > ODBC connection to DB2 need 55 sec

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-08-08, 04:57
andvo andvo is offline
Registered User
 
Join Date: Apr 2008
Posts: 2
ODBC connection to DB2 need 55 sec

Hi,
this is my first post in this forum..
I have a problem with a ODBC connection.

Server: 8.2 (fixpack 15) Windows 2003 Domain-Users
Client: 8.2 (fixpack 15)

First i used db2 runtime clients 6.1 and all worked fine..

Now I have to use runtime clients 8.2 ( external Software need this version) and the connection to the Server over ODBC need ca. 55 sec until i get a "Connection sucessfull tested"..
In a db2cmd window the connection runs well and fast.
Also with the other clients (6.1) I never had problems connecting with odbc.

I used wireshark to sniff the networktraffic between client and server. (see gif)
I donīt realy understand what the things meen, but here you can see the time (57sec) the connection need to finish.

Hope someone can help me..

Kind regards
Andreas
Attached Thumbnails
ODBC connection to DB2 need 55 sec-wireshark.gif  
Reply With Quote
  #2 (permalink)  
Old 04-08-08, 05:21
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Have you explicitly activated the database (see the ACTIVATE DATABASE command) or does the first connection have to activate the database and potentially perform crash recovery?
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #3 (permalink)  
Old 04-08-08, 05:32
andvo andvo is offline
Registered User
 
Join Date: Apr 2008
Posts: 2
Hi,
i did not used this command, because the database are still active since 2 months on this server.. I have this problem only from this 8.2 clients, other clients accessing this server work fine..
The Database should be just started, because it is used by diffrend users.

Last edited by andvo; 04-08-08 at 05:36.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On