DBA > Job Interview Questions > DERBY Java Database FAQs

How to debug Deadlocks?

More DBA job interview questions and answers at http://dba.fyicenter.com/Interview-Questions/

(Continued from previous question...)

How to debug Deadlocks?

If deadlocks occur frequently in your multi-user system with a particular application, you might need to do some debugging. Derby provides a class to help you in this situation, org.apache.derby.diag.LockTable. You can also set the property derby.locks.deadlockTrace to dump additional information to the derby.log file about any deadlocks that occur on your system.

(Continued on next question...)

Other Job Interview Questions