Stored Proc slower from application than Management Studio

后端 未结 1 512
囚心锁ツ
囚心锁ツ 2021-01-28 22:07

We have a stored proc which runs pathetically when called from application (Spring - DBCP - jtds) infact timesout after 10 minutes, but runs in 30 seconds when executed from SQL

相关标签:
1条回答
  • 2021-01-28 23:03

    This normally indicates a parameter sniffing issue.

    See Slow in the Application, Fast in SSMS? Understanding Performance Mysteries for details.

    0 讨论(0)
提交回复
热议问题