Can I stop sp_reset_connection being called to improve performance?

前端 未结 4 2008
别跟我提以往
别跟我提以往 2021-02-05 16:09

My profiler trace shows that exec sp_reset_connection is being called between every sql batch or procedure call. There are reasons for it, but can I prevent it from

4条回答
  •  天命终不由人
    2021-02-05 16:43

    Personally, I'd leave it.

    Given what it does, I want to make sure I have no temp tables in scope or transactions left open.

    To be fair, you will gain a bigger performance boost by not running profiler against your production database. And do you have any numbers or articles or recommendations about what you can gain from this please?

提交回复
热议问题