Solved

DB Lock Requests in SQL, how can I increase or limit them?

Posted on 2011-09-12
5
160 Views
Last Modified: 2012-05-12
I'm getting alot of DB lock requests...how can I increase these or limit them?

I can't keep having my ASPX app having connection issues.

Thanks
0
Comment
Question by:TimSweet220
  • 3
  • 2
5 Comments
 
LVL 59

Expert Comment

by:Kevin Cross
Comment Utility
Have you done any investigation into the queries that are running for the application at the times you are getting high DB lock requests? If the amount of load you are seeing doesn't seem equivalent to the amount of expected usage, you will find it is likely related to poorly tuned queries. Check for missing indexes causing table scans, etc.
0
 
LVL 59

Expert Comment

by:Kevin Cross
Comment Utility
0
 

Author Comment

by:TimSweet220
Comment Utility
I thought it was configurable.    You set the number of spids  ( I think two is the max) and limit the proc output by those spids.  But would you get that much bag for your buck there?
0
 
LVL 59

Accepted Solution

by:
Kevin Cross earned 500 total points
Comment Utility
Probably better to fix the root cause.
As you will see in the documentation http://msdn.microsoft.com/en-us/library/ms175978.aspx this option is planned for deprecation in future version of SQL.
0
 

Author Closing Comment

by:TimSweet220
Comment Utility
Excellent.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

There are some very powerful Data Management Views (DMV's) introduced with SQL 2005. The two in particular that we are going to discuss are sys.dm_db_index_usage_stats and sys.dm_db_index_operational_stats.   Recently, I was involved in a discu…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now