- Furthermore, if the application is designed improperly or has a bug, the blocking lock may not be released until the program fail or the DBA intervenes
- The locking mechanism of the DBMS prevents processes from waiting forever for a lock to be released bytiming out.
- Each DBMS provides a parameter to set a lock timeout value. Depending on the DBMS, the lock timeout value might be at the DBMS level, the process level, or the connection level.
- After a process waits for the predetermined amount of time for a lock to be granted, the process will receive an error message informing it that the timeout period has been exceeded.