BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What is causes of SQL Time Out Error

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers)
View previous topic :: View next topic  
Author Message
yichun
Guest





PostPosted: Wed May 12, 2004 11:22 am    Post subject: What is causes of SQL Time Out Error Reply with quote



My client recently complain that the reaction of our software is pretty
slow, i have to log the SQL statement through SQL monitor.
The log is as below:
1480 16:39:49 SQL Prepare: MSSQL - SELECT * FROM SYN_LICENSE WHERE
COMPANY_KEY = '@LICENSE'

1481 16:39:49 SQL Misc: MSSQL - Set statement type
1482 16:39:49 SQL Execute: MSSQL - SELECT * FROM SYN_LICENSE WHERE
COMPANY_KEY = '@LICENSE'

1483 16:39:49 SQL Vendor: MSSQL - dbcmd
1484 16:39:49 SQL Vendor: MSSQL - dbsqlexec
1485 16:41:37 SQL Vendor: MSSQL - dbresults
1486 16:41:37 SQL Vendor: MSSQL - dbnumcols
1487 16:41:37 SQL Vendor: MSSQL - dbcount

above is the log file from SQL Monitor, line 1484 and 1485 have a 2 minute
delay, if this delay take time >5 minute that i set in TDatabase's Param
MAX QUERY TIME=300,
then a SQL Time Out Error will be triggered.

The table SYN_LICENSE only have 4 record inside. I am using SQL2000, D3.
NativeDriver.

Can some body tell me what is the cause of delay?


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (SQL Servers) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.