Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

How to query lock contention
Is there a way to query SQL 2000 to find out about table/database lock
contention.  I have an application that is getting locked out many times a
day.  I can see using "sp_who2" that various spids are being blocked by
others, which in turn are blocked by another...

If I "kill" the top level spid the system frees.  I would like to find out
what table that process was locking or holding onto that was causing the
other workstations to hang.  Are there any statistics or tools that would
help me?

TIA
Mark



Report this thread to moderator Post Follow-up to this message
Old Post
Mark Butler
06-29-05 04:23 PM


RE: How to query lock contention
Try the stored procedure sp_lock
--
Thanks
Ravi


"Mark Butler" wrote:

> Is there a way to query SQL 2000 to find out about table/database lock
> contention.  I have an application that is getting locked out many times a
> day.  I can see using "sp_who2" that various spids are being blocked by
> others, which in turn are blocked by another...
>
> If I "kill" the top level spid the system frees.  I would like to find out
> what table that process was locking or holding onto that was causing the
> other workstations to hang.  Are there any statistics or tools that would
> help me?
>
> TIA
> Mark
>
>
>

Report this thread to moderator Post Follow-up to this message
Old Post
Ravi
06-29-05 04:23 PM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 11:52 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006