RE: Takes too long time to connect to DB server
From: Carb Simien [MSFT] (CarbinoS_at_online.microsoft.com)
Date: 08/03/04
- Next message: Carb Simien [MSFT]: "RE: error handling using JDBC DRIVER"
- Previous message: Ruben Hesselbęk: "setQueryTimeout not working"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 03 Aug 2004 17:12:10 GMT
--------------------
| Thread-Topic: Takes too long time to connect to DB server
| thread-index: AcRz+8jvJ5ekdTCKQJG5hK9goJ9mZQ==
| X-WBNR-Posting-Host: 193.113.37.7
| From: =?Utf-8?B?ZWhhYmlu?= <ehabin@discussions.microsoft.com>
| Subject: Takes too long time to connect to DB server
| Date: Tue, 27 Jul 2004 10:04:31 -0700
| Lines: 10
| Message-ID: <8E4EFADD-1990-4DDE-B073-E4182C28B990@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.sqlserver.jdbcdriver
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.1.29
| Path: cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.sqlserver.jdbcdriver:6207
| X-Tomcat-NG: microsoft.public.sqlserver.jdbcdriver
|
| Hi,
| I'm using com.microsoft.jdbc.sqlserver.SQLServerDriver to connect to MS
SQL 2000.
| This take really long time even if I try to connect to the server from
the same machine.. about 20 seconds... just to get one record from a table.
| However, if I use sun.odbc.jdbc.OdbcJdbcDriver for the same connection,
it returns result instantly..
| I was using MS JDBC Service Pack 2.
| Does anybody have the same experience please ?
| Thanks in advance.
|
| Habin.
|
|
Hello,
Can you please post your JDBC code and table schema used to demonstrate
this problem? How many rows does your table have?
Carb Simien, MCSE MCDBA MCAD
Microsoft Developer Support - Web Data
Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Strategic Technology Protection
Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.
- Next message: Carb Simien [MSFT]: "RE: error handling using JDBC DRIVER"
- Previous message: Ruben Hesselbęk: "setQueryTimeout not working"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|