【问题标题】:Stored Proc slower from application than Management Studio应用程序的存储过程比 Management Studio 慢
【发布时间】:2011-09-22 02:10:45
【问题描述】:

我们有一个存储过程,它在从应用程序(Spring - DBCP - jtds)调用时会在 10 分钟后超时运行,但从 SQL Server Managament Stuido 执行时会在 30 秒内运行。有人可以提供有关此问题的线索吗?

【问题讨论】:

    标签: java sql-server spring apache-commons-dbcp jtds


    【解决方案1】:

    这通常表示参数嗅探问题。

    详情请见Slow in the Application, Fast in SSMS? Understanding Performance Mysteries

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-09-28
      • 2011-12-19
      • 1970-01-01
      • 2015-02-23
      相关资源
      最近更新 更多