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

Posted on 2011-09-12
Medium Priority
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.

Question by:TimSweet220
  • 3
  • 2
LVL 61

Expert Comment

by:Kevin Cross
ID: 36525672
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.
LVL 61

Expert Comment

by:Kevin Cross
ID: 36525686

Author Comment

ID: 36525797
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?
LVL 61

Accepted Solution

Kevin Cross earned 2000 total points
ID: 36525830
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.

Author Closing Comment

ID: 36525983

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
In SQL Server, when rows are selected from a table, does it retrieve data in the order in which it is inserted?  Many believe this is the case. Let us try to examine for ourselves with an example. To get started, use the following script, wh…
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses

624 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