1

我正在查看 SQL Server 2005 的 Activty Monitor,我们有一些进程占用了大量的 CPU。当我查看正在尝试运行的内容时,我得到:

set transaction isolation level  read committed 

此代码并非来自我们的任何应用程序。

是什么原因造成的?

应该做什么?

4

2 回答 2

0

查看sys.dm_exec_sessionssys.dm_exec_connections以了解占用 CPU 的会话 ID。您将找到客户端的应用程序名称、主机名和进程 ID。

于 2009-12-22T16:32:51.230 回答
0

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?

于 2009-12-22T22:56:25.507 回答