- student computer requirements
- Resources
- Campus Map
- FTP Server
- Libraries
- Help Pages
- Lawson Building
- Lawson Building Hours
- Felix Haas Hall
- Policies
- Computer Science Facilities
- General Overview
- Conference Rooms
- Instructional Labs
- Remote access to CS Facilities
- Keys, Desks and Mailboxes
- Emergency Support
- Purdue IT Facilities
- Oracle Access
- CS Devices Lab
- DSAI Emergency Plan
- Printing and Scanning
- LWSN Emergency Plan
ORA-00054: resource busy and acquire with NOWAIT specified or timeout expired
- What is this error?
Oracle will maintain data integrity, when you have changes made to a table in one session that have not been committed, you are not permitted to make further changes from another session until the status of those in the first session are resolved.
- An example of this would be, you insert ten rows of type 'phone' and then leave this in an uncommitted state. If in the second session all rows of type 'phone' are deleted.. the exepcted outcome of these two statments can not be derived and the second will be prohibited until the first is resolved
- What are the causes of this error
- You have multiple active sqlplus connections open to the database
- You have been disconnected from the Oracle server and have opened a new sqlplus connection
- How can I correct or work around this condition
- If you have multiple sqlplus windows open issue 'commit' or 'rollback' in one or both of them, start your work again If you have been disconnected with uncommitted changes
- Your session will eventually time out, when this happens changes will roll back and you will be able to alter the tables again
- It is only the specific tables with uncommitted changes that are locked, you can change the table name and continue to work on your project
- There may be a unix process of 'sqlplus' still running after your connection was interrupted, if you kill this process it may speed your recovery
- How can I avoid this condition
- commit: commit often and regularly if your work allows it, or rollback often and regularly if it makes more sense
- The unix commands: screen, or tmux may be used to provide a more stable platform to work on, they allow your session to survive an interruption of network connectivity and resume it once you have reconnected.
- For those users programming in perl, php, python, C, and etc... An error resulting in the halting of your program will also cause this condition. You must trap errors and handle proper shutdown of the connections and cursors you have opened to avoid this problem.
Last Updated: Apr 21, 2017 4:18 PM