Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


locks issue


locks issue

Author
Message
vashi
vashi
Forum Newbie
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: General Forum Members
Points: 6 Visits: 339
DESCRIPTION: The SQL Server performance counter 'Lock Waits/sec' (instance '_Total') of object 'SQLServer:Locks' is now above the threshold of 0.70 (the current value is 0.80).


what should i do ?
Ramkumar (LivingForSQLServer)
Ramkumar (LivingForSQLServer)
SSC-Enthusiastic
SSC-Enthusiastic (153 reputation)SSC-Enthusiastic (153 reputation)SSC-Enthusiastic (153 reputation)SSC-Enthusiastic (153 reputation)SSC-Enthusiastic (153 reputation)SSC-Enthusiastic (153 reputation)SSC-Enthusiastic (153 reputation)SSC-Enthusiastic (153 reputation)

Group: General Forum Members
Points: 153 Visits: 620
Vashi,

Need more inputs to understand the issue better (Hardware, SQL Configurations, DB Size, OLTP load, ETL etc)
Is this value exceeds consistantly or only specific time?

Most probably this is side effect of performance issues in queries/stored procs.

Suggest you to seek DBAs/Tuning specialists to for detailed analysis.

Run Glenn Berry's dmvs to understand server/db/object level pain points
http://www.sqlservercentral.com/blogs/glennberry/2011/10/18/october-2011-sql-server-2008-diagnostic-information-queries/


here are some sample lock specific queries which will help you to narrow down the painful database and objects.

select db_name(database_id),
sum(row_lock_count)
from sys.dm_db_index_operational_stats(null,null,null,null)
group by db_name(database_id)
order by sum(row_lock_count) desc

select db_name(database_id),
sum(page_lock_count)
from sys.dm_db_index_operational_stats(null,null,null,null)
group by db_name(database_id)
order by sum(page_lock_count) desc


select db_name(database_id),
object_name(object_id),
row_lock_count,
row_lock_wait_count,
row_lock_wait_in_ms,
page_lock_count,
page_lock_wait_count,
page_lock_wait_in_ms
from sys.dm_db_index_operational_stats(db_id(<database_name>Wink,null,null,null)
order by page_lock_count desc
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search