all groups > sql server connect > july 2003 >
You're in the

sql server connect

group:

monitor_"Number_of_Deadlocks/sec"



monitor_"Number_of_Deadlocks/sec" hb_zhang
7/28/2003 1:37:29 AM
sql server connect: we monitor "Number of Deadlocks/sec" use system monitor
and SQL alert, but we get the very different result,

system monitor only get 1 or 0

SQL alert get mor than 100.

Why the value is so fidderent? which value can we use for
performance tuning?

Re: monitor "Number of Deadlocks/sec" Narayana Vyas Kondreddi
7/28/2003 6:58:14 PM
I think the system monitor counter is showing average over a period of time,
which is different from the total number of deadlocks you encountered.

Best way to track down deadlocks is to enable traceflags 1204 and 3605 to
capture detailed deadlock informatin in the errorlog. Then start
troubleshooting the deadlocking procedures.

--
HTH,
Vyas, MVP (SQL Server)
http://vyaskn.tripod.com/
What hardware is your SQL Server running on?
http://vyaskn.tripod.com/poll.htm




[quoted text, click to view]
we monitor "Number of Deadlocks/sec" use system monitor
and SQL alert, but we get the very different result,

system monitor only get 1 or 0

SQL alert get mor than 100.

Why the value is so fidderent? which value can we use for
performance tuning?

Thanks.

Re: monitor "Number of Deadlocks/sec" hb_zhang
7/28/2003 7:38:04 PM
It's the same monitor item

SQL Server:Locks --- Number of Deadlocks/sec

Are you sure this item on SQL Alert become a encountered
item?

trace on 1204 cause error log file increase quickly, this
is dangerous.

Thanks.

[quoted text, click to view]
Re: monitor "Number of Deadlocks/sec" Narayana Vyas Kondreddi
7/29/2003 8:37:21 AM
Yes, that perfmon counter is only showing how many deadlocks are encountered
in the last second. The alert fires for every deadlock encountered. In your
case if you are seeing a deadlock per second, then it is not good.

[quoted text, click to view]

Well, what is your priority? You want to identify and fix all the deadlocks
or rather keep the error logs small and clean?

--
HTH,
Vyas, MVP (SQL Server)
http://vyaskn.tripod.com/
What hardware is your SQL Server running on?
http://vyaskn.tripod.com/poll.htm




[quoted text, click to view]
It's the same monitor item

SQL Server:Locks --- Number of Deadlocks/sec

Are you sure this item on SQL Alert become a encountered
item?

trace on 1204 cause error log file increase quickly, this
is dangerous.

Thanks.

[quoted text, click to view]

AddThis Social Bookmark Button