How do I increase the timeout period for my stored procedure call (see error)?

后端 未结 6 1059
时光取名叫无心
时光取名叫无心 2021-02-14 13:01
 Timeout expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.
Description: An unhandled exception occurred during t         


        
6条回答
  •  忘了有多久
    2021-02-14 13:27

    +1 to Al because 30 seconds should be plenty. Making the timeout period longer is really only a bandage to the underlying problem.

    In my experience the stored proc is too expensive 90% of the time. When I was reviewing these errors last, I had a general rule of thumb that no stored proc cost more than 1.00. The more expensive they are, the greater the risk we had of blocking and generating these exceptions.

提交回复
热议问题