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 > Pervasive.SQL > ODBC: SQlDriverConnect VERY VERY slow

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-19-04, 09:14
jansenm jansenm is offline
Registered User
 
Join Date: Jul 2004
Posts: 2
ODBC: SQlDriverConnect VERY VERY slow

Hello,

I use a Pervasive SQL 2000 Server engine v8.5 with ODBC. If I try to connect to the server with SQlDirectConnect, it takes up to 30 minutes to establish a connection to the database. Other ODBC commands work properly.

Who can help me?

Thanx,
Markus
Reply With Quote
  #2 (permalink)  
Old 07-19-04, 09:17
jansenm jansenm is offline
Registered User
 
Join Date: Jul 2004
Posts: 2
Mistake: SQLDirectConnect means SQLDriverConnect

Sorry, there's mistake in the thread before. SQLDirectConnect means SQLDriverConnect.
Reply With Quote
  #3 (permalink)  
Old 08-13-04, 17:25
Dilyias Dilyias is offline
Registered User
 
Join Date: Feb 2004
Posts: 78
I'm not sure what you mean by 2000. There is Sql 2000i, and V8.

Anyway, I see that also with my ODBC connections. But I find that once the initial connection is made, repeat commands are very fast. In my program I open my connections and leave the open the duration of the service (which is usually all day). You would put try..catch (or on error) code in to detect if the connection closed, and re-open if necc.

I've found this is much faster than open/close, open/close. (Unlike Sql Server).

Hope this helps,
Eric
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On