Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / December 2004

Tip: Looking for answers? Try searching our database.

Slow odbc connection to AIX DB2

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
panda - 28 Dec 2004 09:35 GMT
Dear ALL,

I was trying to connect to a remote AIX DB2 database from a Windows
2000 machine in two ways:

1) Use DB2 client in Windows to connect to the cataloged DB

I typed "db2 connect to mydb user myuser using mypassword" in the DB2
command line. The connection is nearly instant.

2) Configured ODBC datasource in Windows

I configured an system ODBC datasource in Windows (Control Panel ->
Administrative Tools -> Data Sources (ODBC)) to point to the remote
database, using "IBM DB2 ODBC Driver". In my own client application, i
clicked connect (which then use this ODBC data source), it requires
more than 1 minute to make the connection. However, subsequent
select/query is nearly instant. It's just only the "connect" requires
significant time.

Any hints?

Thanks.
Shyam Peri - 28 Dec 2004 13:33 GMT
The following link might be of some help.

http://publib.boulder.ibm.com/infocenter/db2help/index.jsp?topic=/com.ibm.db2.ud
b.doc/conn/t0005582.htm

Shyam Peri - 28 Dec 2004 13:36 GMT
The following link might be of some help.

http://publib.boulder.ibm.com/infocenter/db2help/index.jsp?topic=/com.ibm.db2.ud
b.doc/conn/t0005582.htm

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.