September 14, 2010 at 10:43 pm
Hi,
I have an stored procedure , when i execute this procedure it throws an exception "TIME OUT EXPIREd".
why this happened. i have attached the execution plan. please help me.
thanks.
September 15, 2010 at 1:24 am
Though its good you have posted the plans, what statement is causing the Timeout ?
September 15, 2010 at 1:27 am
Dave Ballantyne (9/15/2010)
Though its good you have posted the plans, what statement is causing the Timeout ?
when i call the stored procedure from front end then i display the time out expired.
September 15, 2010 at 1:35 am
Probably for the same reasons i have stated in your other thread
http://www.sqlservercentral.com/Forums/Topic986028-360-1.aspx
September 15, 2010 at 2:53 am
pankaj.kuchaliya (9/15/2010)
Dave Ballantyne (9/15/2010)
Though its good you have posted the plans, what statement is causing the Timeout ?when i call the stored procedure from front end then i display the time out expired.
it display the ---
System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at RMI.RM_WS.Exec_sp_ETL_to_RPT()
September 15, 2010 at 2:54 am
I'm not reading through 10 plans to guess which is the problem. Do some investigation on your side, run the queries in Management Studio, and work out which of them are slow. Then post the query, table definitions, index definitions and execution plan.
http://www.sqlservercentral.com/articles/SQLServerCentral/66909/
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
March 2, 2012 at 2:37 pm
Did you able to solve this problem..i am working with this problem so let me know if you have solution
thanks
March 2, 2012 at 3:02 pm
Please post new questions in a new thread. This is not a single problem with a single solution.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
Viewing 8 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic. Login to reply