Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Query timeout
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 16th July 19:22
External User
 
Posts: 1
Default Query timeout



Hello,

Our system has experienced time out issues with on of the SQL Severs. We
have an ASP.NET application that calls a stored proc, which returns a result
set. This stored proc all of a sudden started to time out on Friday after
noon. I was able to execute the same procedure in Query ****yzer without any
problems. The timeout for My ASP.NET is 30 seconds and the query was
executing the Query ****yzer in less than 30 seconds.

The solution I found out for this is to update statistics on one of the
databases. The stored proc has a join with a table in different database
sitting on the same server. When I updated the statistics of this database
the ASP.NET app started behave normally. This time I did not run the update
stats, instead I was thinking to do more research this morning. To my
surprise, the time out issue went away and ASP.NET is working absolutely
fine. What I found is that the SQL server might have been rebooted this
weekend.

Now I am scratching my head and trying to figure out what could be the
problem. What is it????

I appreciate any comments.

Thanks
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666