Monday, March 26, 2012

Lock Monitor

I have a sql server (Sql 2k Sp3) that has a very high CPU utilization count
for the Lock Monitor. The database is used by a Java application that
controls all update transactions. There are some instances where the app is
saving data, querying data and then saving more data inside a distributed
transaction. We are trying to remove those instances.
But I need tips and help on how to get lower the Lock Monitor CPU usage.
What is a average count?Hi
If you are not in control of the scope of the transaction, then you may be
limited to looking at the high duration of high volume statements and try an
d
tune the database to make them quick. You may also want to look at
distributing the I/O better such as adding discs to a raid system or
splitting filegroups into files over different spindles.
Use sp_locks to see lock information, check the isolation level and look for
query hints in SQL Profiler.
John
"JI" wrote:

> I have a sql server (Sql 2k Sp3) that has a very high CPU utilization coun
t
> for the Lock Monitor. The database is used by a Java application that
> controls all update transactions. There are some instances where the app i
s
> saving data, querying data and then saving more data inside a distributed
> transaction. We are trying to remove those instances.
> But I need tips and help on how to get lower the Lock Monitor CPU usage.
> What is a average count?
>
>

No comments:

Post a Comment