What is blocking and how would you troubleshoot it? : sql server database administration
Answer / Mohit Madaan
Blocking in SQL Server occurs when one transaction holds a resource (like a table or row) that another transaction needs, causing the second transaction to wait. To troubleshoot blocking, you can use DBCC INPUTBUFFER and DBCC OPENQUERY to identify the blocked queries, SP_WhoIsActive to get detailed information about active sessions, and DBCC BLITZCACHE to check cached query plans.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is indexing and its types?
Define full outer join?
In the primary key have a multiple field or not?
Can you tell me the difference between DELETE & TRUNCATE commands?
Please illustrate physical database architecture? : SQL Server Architecture
Is it possible to have more then one foreign key in a single table? if possible, is this the good way to design the table?
What stored by the master? : sql server database administration
what authentication modes does sql server support? : Sql server database administration
If any stored procedure is encrypted, then can we see its definition in activity monitor?
What is the difference between left and right outer join?
How do you use a subquery to find records that exist in one table and do not exist in another?
What is join and name different type of joins?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)