COMPUTER FUNDAMENTALS

COMPUTER APPLICATIONS

DATABASE MANAGEMENT SYSTEMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Occurs when multiple users seeking access to the same set of records lockout each other.
A
Data manipulation
B
Deadlock
C
Database lockout
D
Data redundancy
Explanation: 

Detailed explanation-1: -A deadlock occurs when multiple users seeking access to the same set of records lockout each other. As a result, the transactions of all users assume a “wait” state until the locks are removed.

Detailed explanation-2: -Locks block data-access operations. Mutual blocking between transactions results in a deadlock, where execution of these transactions is stalled, and no completion can be reached. Thus deadlocks need to be resolved to complete these transactions’ executions and release related computing resources.

Detailed explanation-3: -Deadlock describes a condition in which two or more threads are blocked (hung) forever because they are waiting for each other. There are many causes of deadlocks. The Thread Analyzer detects deadlocks that are caused by the inappropriate use of mutual exclusion locks.

Detailed explanation-4: -Locks in SQL Server A shared lock is applied during the execution of the select query. A shared lock is the same as update lock but the difference is lock time duration. The shared lock has scope only with the select query.

There is 1 question to complete.