Are SQL Server timeouts logged?

后端 未结 3 1180
日久生厌
日久生厌 2021-02-13 06:23

Are SQL Server timeouts (SELECT queries, in particular) logged in the ERRORLOG file?

Background is a customer with a web site having occasional \"Request timeout\" messa

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-13 07:13

    You could also use Event Notifications that get raised on the timeout and deadlock events. After it fires, you can write it to a table and or send yourself an email.

    I've shown the general technique here:

    Immediate deadlock notifications without changing existing code

提交回复
热议问题