Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On a production SQL Server 2012 database we are getting some odd locking statistics that I don't understand.

  • Lock Waits/Min: 0.2
  • Lock Timeouts/Min: 197.4
  • Deadlocks/Min: 0.0

@@lock_timeout is set to -1

How can I have Lock Timeouts without having Lock Waits? I recently added some missing indexes, could that be affecting these numbers?

share|improve this question
up vote 5 down vote accepted

It seems you are monitoring a Lock Timeouts/sec Performance Monitor counter or perhaps querying sys.dm_os_performance_counters directly. The Lock Timeouts/sec class for Profiler has the following notes in the documentation:

Lock Timeouts/sec

Most likely the vast majority of the events you are seeing are explained that way. Try monitoring Lock:Timeout (timeout > 0) instead.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.