What is Deadlock?

Answer Posted / guest

When a table is accessed by more than one user than that
table may get locked for some particular user and holding
others untill the lock get released, in such scenario the
deadlocks get generated and the query for others executing
that table get stuck.This may lead to the hanging of the
application.
The deadlocks can be overcome by,
Not using order by and group by clause or by index
rebuilding and proper indexing.
The deadlock cannot be permanently avoided

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

On a windows server 2003 active – passive failover cluster, how do you find the node which is active?

654


How to configure odbc dsn with different port numbers?

563


Explain comment on transactions?

560


Explain what is dbcc?

597


How can a database be repaired?

568






How to receive returning result from a query?

586


What is after dml trigger?

577


Does sql server 2000 full-text search support clustering?

510


Explain the various types of concurrency problem?

703


What are tables in sql server?

539


How to insert multiple rows with one insert statement in ms sql server?

587


What are the different methods available under sqlcommand class to access the data?

695


What is the difference between DataRow.Delete() and DataRow.Remove()?

742


What is the difference between a fill factor of 100 and 0?

536


What are distinctive joins find as a part of sql?

560