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

后端 未结 8 1193
离开以前
离开以前 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条回答
  •  星月不相逢
    2021-02-02 01:12

    Weird one that applied to SQL Server 2000 that might still apply today:

    Make sure that you aren't trying to dynamically grow the database in production. There comes a point where the amount of time it takes to allocate that extra space and your normal load running will cause your queries to timeout (and the growth too!)

提交回复
热议问题