How to resolve locking situations?
Most locking issues are application specifics. To resolve locking contention, one needs to free the resource by: a. Asking the HOLDER to commit or rollback, b. Killing the session which holds the lock, eg ALTER SESSION KILL SESSION sid, serial #; c. If the database is running on unix or vms, it is possible to kill the unix / vms shadow process directly. It is not recommended. When killing the unix / vms shadow process, please be careful of shared servers in a multi-threaded environment. d. ROLLBACK FORCE or COMMIT FORCE if 2pc pending transaction.