我正在查看 SQL Server 2005 的 Activty Monitor,我们有一些进程占用了大量的 CPU。当我查看正在尝试运行的内容时,我得到:
set transaction isolation level read committed
此代码并非来自我们的任何应用程序。
是什么原因造成的?
应该做什么?
我正在查看 SQL Server 2005 的 Activty Monitor,我们有一些进程占用了大量的 CPU。当我查看正在尝试运行的内容时,我得到:
set transaction isolation level read committed
此代码并非来自我们的任何应用程序。
是什么原因造成的?
应该做什么?
查看sys.dm_exec_sessions和sys.dm_exec_connections以了解占用 CPU 的会话 ID。您将找到客户端的应用程序名称、主机名和进程 ID。
This is the default transaction isolation level for ADO.NET and most OR/M frameworks. Chances are this is in fact coming for your code, you just don't know it.
I think this is the wrong question to ask anyways - the real question is, why is this rather common TSQL instruction causing your database CPU to spike?