Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timeout on SQL Server
Message
De
18/04/2011 10:29:55
 
 
À
18/04/2011 10:02:06
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01507700
Message ID:
01507708
Vues:
47
>On the assumption that this is ADO.NET: what is the value of the Command.CommandTimeOut property (the default is 30 secs so you may want to increase it ....)

You are right. SQLExec() and SQLDelete() classes of my data class have it set to 0 to rely on the IIS timeout instead. But, I will do the same for SQLUpdate() and SQLInsert().

However, this situation has been caused in the middle of the night. The traffic was pretty much empty. So, could it be that SQL Server falls in sleep mode or releases its cache when not being accessed for a while? If that would the case, it is known that the first data hit on some big tables will always take longer. Then, they respond in a flash. So, I am wondering if that was the cause of the situation.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform