Database lock type for idle connections?


sql 2005 sp2  looking @ locking report identify users locking resources long. see many users lock type "database" sleeping? if locking db, wouold dead in water since every db listed way @ least 1 user. object id "0". mean?

thx,

rick_806

hi rick,

whenever there new connection made, there new database shared lock obtained..

and if application using connection pooling connection not closed, connection retained , same connection willl used for, other request same application. may reason seeing lots of slipping sessions. basically, slipping means sql waiting command.


- chintak (my blog)



SQL Server  >  SQL Server Database Engine



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........