

- Ora 00060 deadlock detected while waiting for resource serial#
- Ora 00060 deadlock detected while waiting for resource code#
- Ora 00060 deadlock detected while waiting for resource windows#

Once the resultant trace file has been examined (as shown later in this document) to determine the objects involved, it is then worth thinking about what could be causing such a deadlock - for example a batch program being run more that once by mistake or in the wrong order, or by not following programming standards in an application.
Ora 00060 deadlock detected while waiting for resource code#
You can modify code with proper rollback or commit commands.NOTE: Deadlock errors are usually not the underlying root cause of a problem, rather they are more likely to be an indicator of another issue in the application or elsewhere. Use these SQL statements to identify the particular piece of code that is having problems. O/S info: user: oracleuser, term: ORACLEMC, ospid: 11664:10612ĥ. Pid: 51 O/S info: user: OracleServiceXE, term: ORACLEMC, ospid: 1940 Machine: ORCL\ORACLEMC program: sqlplus.exeĪpplication name: SQL*Plus, hash value=3669949024 O/S info: user: oracleuser, term: ORACLEMC, ospid: 13508:1716 Pid: 50 O/S info: user: OracleServiceXE, term: ORACLEMC, ospid: 10032 you get SQL information in this part of trace file: Identify the SQL statements in both the current session and the waiting session(s).
Ora 00060 deadlock detected while waiting for resource serial#
Resource Name process session holds waits serial process session holds waits serial


Information may aid in determining the deadlock: It is aĭeadlock due to user error in the design of an application The following deadlock is not an ORACLE error. See Note 60.1 at My Oracle Support for Troubleshooting ORA-60 Errors
Ora 00060 deadlock detected while waiting for resource windows#
Windows thread id: 10032, image: ORACLE.EXE (SHAD) Trace file C:\ORACLE\diag\rdbms\xe\xe\trace\xe_ora_c Check the relevant trace file(s) shown in alert log file. More info in file C:\ORACLE\diag\rdbms\xe\xe\trace\xe_ora_c.ģ. See Note 60.1 at My Oracle Support for Troubleshooting ORA-60 Errors. XEPDB1(3):Errors in file C:\ORACLE\diag\rdbms\xe\xe\trace\xe_ora_c: For modify, you need to identify the code, you can check the error messages in the alert log. Basic idea is to modified the code to prevent this error by proper using commit and rollback commands.Ģ. One transaction is holding lock on resource which is needed by second transaction and second transaction hold lock on first transaction waiting resource.ġ. –Procedure to make the deadlock saturation for getting deadlock error in one session: –Create the table for demo the deadlock error: ORA-00060: deadlock detected while waiting for resource
