A checklist for fixing .NET applications to SQL Server timeout problems and improve execution time

后端 未结 8 1201
离开以前
离开以前 2021-02-02 00:44

A checklist for improving execution time between .NET code and SQL Server. Anything from the basic to weird solutions is appreciated.

Code:

Chan

8条回答
  •  旧时难觅i
    2021-02-02 01:31

    Are you using stored procedures? If so you should watch out for parameter sniffing. In certain situations this can make for some very long running queries. Some reading:

    http://blogs.msdn.com/queryoptteam/archive/2006/03/31/565991.aspx

    http://blogs.msdn.com/khen1234/archive/2005/06/02/424228.aspx

提交回复
热议问题