Solved

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

Posted on 2011-09-12
5
162 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
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.
0
 
LVL 59

Expert Comment

by:Kevin Cross
ID: 36525686
0
 

Author Comment

by:TimSweet220
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?
0
 
LVL 59

Accepted Solution

by:
Kevin Cross earned 500 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.
0
 

Author Closing Comment

by:TimSweet220
ID: 36525983
Excellent.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Sql query 12 72
Getting the 3 middle digits 4 37
Truncate vs Delete 63 105
Query to Add Late Tolerance 10 67
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…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

786 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