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

How do I view views in sql server?

694


What the different topologies in which replication can be configured?

719


What is tablix?

136


Does sql server 2016 have ssms?

714


Give me any three differences between Truncate and Delete.

759






What is the difference between push and pull subscription? : sql server replication

853


What does the not null constraint do?

748


What happens if strings are casted into wrong code pages in ms sql server?

824


I create a separate index on each column of a table. What are the advantages and disadvantages of this approach? : Sql server database administration

816


How do you debug a procedure in sql server?

635


What is the difference between local and global temporary tables?

788


What is the Disadvantage of indexed sequential file.

783


What is entity data services?

780


How to backup encryption key ?

144


What do you understand by integration services in sql server?

718