Oracle ORA Error Codes

Look up an Oracle Database error by code or symptom. Each entry explains what the message means and links to Oracle’s documentation. Compare scenarios when the same code has several possible causes.

338 distinct codes368 scenariosTry the troubleshooting quiz

Find an ORA error

338 codes Β· 368 scenarios

Unique Constraint Violated

An INSERT or UPDATE attempted to store a duplicate value in a UNIQUE or PRIMARY KEY constrained column.

Oracle official reference
Read more

Unique Constraint Violated

Meaning An INSERT or UPDATE attempted to store a duplicate value in a UNIQUE or PRIMARY KEY constrained column.

Possible causes Duplicate data being inserted; application logic bug or missing deduplication check.

Maximum Sessions Exceeded

The database has reached the maximum concurrent sessions defined by the SESSIONS parameter.

Oracle official reference
Read more

Maximum Sessions Exceeded

Meaning The database has reached the maximum concurrent sessions defined by the SESSIONS parameter.

Possible causes Too many concurrent connections; SESSIONS parameter set too low relative to workload demands.

Resource Busy β€” Acquire with NOWAIT

A DDL statement could not obtain the required lock because another session holds a conflicting lock.

Oracle official reference
Read more

Resource Busy β€” Acquire with NOWAIT

Meaning A DDL statement could not obtain the required lock because another session holds a conflicting lock.

Possible causes Active uncommitted DML transactions on the target table preventing DDL execution.

Deadlock Detected While Waiting for Resource

Two or more sessions are waiting for resources held by each other, creating a circular dependency.

Oracle official reference
Read more

Deadlock Detected While Waiting for Resource

Meaning Two or more sessions are waiting for resources held by each other, creating a circular dependency.

Possible causes Poor application transaction ordering; multiple sessions locking rows in different orders causing a deadlock cycle.

ORA-00257

2 scenarios

Archiving failed and connections are restricted

The archiver could not complete its work. Oracle restricts connections to administrative access, and work may stall when redo logs cannot be reused.

Oracle official reference
Read more

Archiving failed and connections are restricted

Meaning The archiver could not complete its work. Oracle restricts connections to administrative access, and work may stall when redo logs cannot be reused.

What to check Read the archiver error in the alert log. Check the failed destination, disk space and FRA quota. Before reclaiming archived logs, verify RMAN policy, backups and all required standbys.

A required archive destination is unavailable

Meaning A full or inaccessible mandatory destination can prevent archiving even when another destination has free space.

What to check Check STATUS and ERROR in V$ARCHIVE_DEST for each destination. Restore access or capacity and verify that archiving resumes while required standby coverage is maintained.

ORA-00600

4 scenarios

Internal Error Code

Oracle's generic internal error indicating a problem within the Oracle kernel itself.

Oracle official reference
Read more

Internal Error Code

Meaning Oracle's generic internal error indicating a problem within the Oracle kernel itself.

Possible causes Oracle software bug, corrupted data blocks, or environment instability. Always requires trace file analysis and possible Oracle Support SR.

Internal Error β€” kcbz / Block Read Anomaly

Meaning Oracle's block read layer (kcbz*) detected an inconsistency in a data block that should not occur under normal operation.

Possible causes Possible block corruption; memory subsystem error; note the first argument in brackets (e.g., [kcbz_check_objd_typ]) and immediately run RMAN VALIDATE DATABASE to check all blocks; open an Oracle SR with the trace file.

Internal Error β€” ktbdchk1 / Undo Block Inconsistency

Meaning Oracle's transaction layer (ktb*) found an inconsistency while performing block cleanout using undo data.

Possible causes Often associated with block corruption or undo segment corruption; run DBVERIFY on the affected datafile; check alert log for associated ORA-01578; may require block-level recovery with RMAN RECOVER BLOCK.

Internal Error β€” ktfbn/Space Management Freelist Corruption

Meaning Oracle's space management layer (ktf*) detected an inconsistency in the freelist or bitmap blocks used to track free space in a locally managed tablespace.

Possible causes Space management bitmap block corruption; storage-level write error corrupting the extent map; Oracle bug in specific release affecting locally managed tablespace bitmap; first argument [ktfbn] or [ktfbhget] in ORA-600 identifies the space management subsystem.

Troubleshooting Run RMAN VALIDATE: RMAN> VALIDATE TABLESPACE my_ts; check V$DATABASE_BLOCK_CORRUPTION; attempt block recovery: RMAN> RECOVER CORRUPTION LIST; check MOS Note for specific ORA-600 argument combination (search: ORA-600 [ktfbn]); may require segment rebuild or tablespace recreation if corruption is extensive; open SR with full trace and alert log.

Error Occurred at Recursive SQL Level

An error occurred during execution of recursive SQL within Oracle internals or a trigger.

Oracle official reference
Read more

Error Occurred at Recursive SQL Level

Meaning An error occurred during execution of recursive SQL within Oracle internals or a trigger.

Possible causes Faulty logon trigger; broken SYS-level object; recursive operation failing due to space or privilege issues.

MEMORY_TARGET Not Supported on This System

MEMORY_TARGET is set but the OS does not support the required /dev/shm mounted filesystem.

Oracle official reference
Read more

MEMORY_TARGET Not Supported on This System

Meaning MEMORY_TARGET is set but the OS does not support the required /dev/shm mounted filesystem.

Possible causes /dev/shm tmpfs not mounted or too small; required for AMM (Automatic Memory Management) on Linux.

Table or View Does Not Exist

The referenced table or view was not found or the user lacks SELECT privilege on it.

Oracle official reference
Read more

Table or View Does Not Exist

Meaning The referenced table or view was not found or the user lacks SELECT privilege on it.

Possible causes Missing synonym; wrong schema qualifier; object not created; insufficient privileges granted to the connecting user.

Not a GROUP BY Expression

A column in the SELECT list is not in the GROUP BY clause and not wrapped in an aggregate function.

Oracle official reference
Read more

Not a GROUP BY Expression

Meaning A column in the SELECT list is not in the GROUP BY clause and not wrapped in an aggregate function.

Possible causes Incorrect SQL syntax; non-aggregated column in SELECT without a corresponding GROUP BY entry.

Maximum Open Cursors Exceeded

The session has opened more cursors than allowed by the OPEN_CURSORS parameter.

Oracle official reference
Read more

Maximum Open Cursors Exceeded

Meaning The session has opened more cursors than allowed by the OPEN_CURSORS parameter.

Possible causes Cursor leak in application code (cursors not closed after use); OPEN_CURSORS parameter set too low.

Credential rejected or logon unauthorized

The authentication attempt failed for the identity supplied to the target database.

Oracle official reference
Read more

Credential rejected or logon unauthorized

Meaning The authentication attempt failed for the identity supplied to the target database.

What to check Check the service or PDB, username, authentication method and case-sensitive password. A locked account has its own code, ORA-28000. An expired password can report ORA-28001.

Insufficient Privileges

The user attempted an operation requiring a privilege that has not been granted.

Oracle official reference
Read more

Insufficient Privileges

Meaning The user attempted an operation requiring a privilege that has not been granted.

Possible causes Missing system or object privilege; role-based grants not active in current session; attempting SYSDBA without OS group membership.

ORACLE Initialization or Shutdown in Progress

The database is either starting up or shutting down and not yet available for connections.

Oracle official reference
Read more

ORACLE Initialization or Shutdown in Progress

Meaning The database is either starting up or shutting down and not yet available for connections.

Possible causes Database instance in MOUNT or NOMOUNT state; ongoing startup/shutdown; abnormal instance restart in progress.

ORACLE Not Available

The Oracle instance is not running or has crashed, making the database unavailable.

Oracle official reference
Read more

ORACLE Not Available

Meaning The Oracle instance is not running or has crashed, making the database unavailable.

Possible causes Instance not started; background process crash (PMON, SMON, DBWn); ORA-00600 or ORA-07445 caused instance abort.

Failure in Processing System Parameters

Oracle could not read or process the SPFILE/PFILE during database startup.

Oracle official reference
Read more

Failure in Processing System Parameters

Meaning Oracle could not read or process the SPFILE/PFILE during database startup.

Possible causes Corrupted or missing SPFILE; incorrect ORACLE_SID; invalid parameter syntax in init.ora or spfile.

File Needs Media Recovery

A datafile requires media recovery before it can be opened or brought online.

Oracle official reference
Read more

File Needs Media Recovery

Meaning A datafile requires media recovery before it can be opened or brought online.

Possible causes Datafile restored from backup but not yet recovered; database crashed with an open datafile that has not been recovered.

Cannot Identify/Lock Data File

The database cannot identify or lock a datafile during startup, preventing the database from opening.

Oracle official reference
Read more

Cannot Identify/Lock Data File

Meaning The database cannot identify or lock a datafile during startup, preventing the database from opening.

Possible causes Datafile physically missing; permissions issue for oracle OS user; ASM disk group unavailable.

No Data Found

A SELECT INTO in PL/SQL returned no rows, raising NO_DATA_FOUND exception.

Oracle official reference
Read more

No Data Found

Meaning A SELECT INTO in PL/SQL returned no rows, raising NO_DATA_FOUND exception.

Possible causes Query returned zero rows; missing data; wrong WHERE clause. Handle with EXCEPTION WHEN NO_DATA_FOUND.

Exact Fetch Returns More Than Requested Number of Rows

A SELECT INTO in PL/SQL returned more than one row, not allowed for scalar assignment.

Oracle official reference
Read more

Exact Fetch Returns More Than Requested Number of Rows

Meaning A SELECT INTO in PL/SQL returned more than one row, not allowed for scalar assignment.

Possible causes WHERE clause not selective enough; use a cursor or aggregate function when multiple rows are expected.

Index or Partition Is in Unusable State

A DML operation failed because the index on the target table is UNUSABLE.

Oracle official reference
Read more

Index or Partition Is in Unusable State

Meaning A DML operation failed because the index on the target table is UNUSABLE.

Possible causes Index made unusable after direct-path load or partition operation. Rebuild with ALTER INDEX REBUILD.

Space Quota Exceeded for Tablespace

The user's tablespace quota has been exhausted and no more space can be allocated.

Oracle official reference
Read more

Space Quota Exceeded for Tablespace

Meaning The user's tablespace quota has been exhausted and no more space can be allocated.

Possible causes ALTER USER quota too low; no UNLIMITED TABLESPACE privilege; excessive inserts or LOB storage by application.

ORA-01555

3 scenarios

Snapshot Too Old

Oracle could not reconstruct a consistent read image because the required undo data was overwritten.

Oracle official reference
Read more

Snapshot Too Old

Meaning Oracle could not reconstruct a consistent read image because the required undo data was overwritten.

Possible causes UNDO_RETENTION too low; undo tablespace undersized; long-running queries on a high-DML system consuming undo rapidly.

Undo reuse during a long query and heavy DML

Meaning Concurrent changes can generate enough undo for older committed undo to be reused while a query still needs it.

What to check Compare query duration, TUNED_UNDORETENTION and SSOLDERRCNT in V$UNDOSTAT with undo capacity during the incident. Preserve the application's transaction boundaries.

Snapshot Too Old β€” Fetch Across Commit in PL/SQL Cursor

Meaning A PL/SQL cursor loop that COMMITs inside the loop may invalidate the read-consistent snapshot for the open cursor.

Possible causes Committing inside a FOR LOOP over a cursor; Oracle must maintain a consistent read image from cursor open time; restructure logic to avoid committing mid-cursor or use BULK COLLECT with LIMIT.

Corrupt Oracle data block detected

Oracle detected corruption at the file and block address shown in the message.

Oracle official reference
Read more

Corrupt Oracle data block detected

Meaning Oracle detected corruption at the file and block address shown in the message.

What to check Identify the affected segment and extent and inspect V$DATABASE_BLOCK_CORRUPTION and related errors. A rebuildable index and a table data block have different recovery options. Choose a supported repair after checking the corruption type and backups.

Temporary segment could not grow

A temporary segment needed another extent in the named tablespace. A sort can consume TEMP, while an index build can create a temporary segment in a permanent tablespace.

Oracle official reference
Read more

Temporary segment could not grow

Meaning A temporary segment needed another extent in the named tablespace. A sort can consume TEMP, while an index build can create a temporary segment in a permanent tablespace.

What to check Identify the SQL operation and named tablespace first. For TEMP inspect temporary usage and tempfiles. For a permanent tablespace inspect free extents and the limits of its datafiles.

Unable to Extend Table in Tablespace

A table segment could not be extended because the tablespace has insufficient free space.

Oracle official reference
Read more

Unable to Extend Table in Tablespace

Meaning A table segment could not be extended because the tablespace has insufficient free space.

Possible causes Tablespace full; AUTOEXTEND disabled; no filesystem space for datafile growth.

ORA-01722

3 scenarios

Invalid Number

Oracle attempted to convert a character string to a number, but the string is not a valid numeric value.

Oracle official reference
Read more

Invalid Number

Meaning Oracle attempted to convert a character string to a number, but the string is not a valid numeric value.

Possible causes Implicit conversion from VARCHAR2 to NUMBER on a non-numeric value; dirty data in VARCHAR2 columns.

Invalid Number β€” Implicit Conversion in WHERE Clause

Meaning Oracle attempted an implicit VARCHAR2-to-NUMBER conversion in a WHERE clause predicate and failed due to non-numeric data.

Possible causes Column defined as VARCHAR2 but queried as a number (col = 123); dirty data containing letters or spaces; always use explicit TO_NUMBER with error handling or fix the data model.

Invalid Number β€” ETL/Data Migration Scenario

Meaning During a data migration or ETL load, source data contains non-numeric values in a column mapped to a NUMBER target column.

Possible causes Source system allowed free-text in a numeric field; use VALIDATE_CONVERSION (12.2+) or REGEXP_LIKE to pre-validate data before loading; trap with EXCEPTIONS INTO clause.

ORA-01843

2 scenarios

Not a Valid Month

The month portion of a date string could not be recognized during date conversion.

Oracle official reference
Read more

Not a Valid Month

Meaning The month portion of a date string could not be recognized during date conversion.

Possible causes NLS_DATE_FORMAT mismatch; incorrect month abbreviation; date format string does not match the DB setting.

Not a Valid Month β€” NLS Language Mismatch

Meaning The month name in the date string is not recognized because it belongs to a different NLS_DATE_LANGUAGE than the session is configured for.

Possible causes Month name 'JAN' expected but session NLS_DATE_LANGUAGE is set to a non-English language; use NLS_DATE_LANGUAGE='AMERICAN' parameter in TO_DATE call: TO_DATE('01-JAN-2024','DD-MON-YYYY','NLS_DATE_LANGUAGE=AMERICAN').

User Does Not Exist

An operation (DROP USER, GRANT) was attempted on a user that doesn't exist in the database.

Oracle official reference
Read more

User Does Not Exist

Meaning An operation (DROP USER, GRANT) was attempted on a user that doesn't exist in the database.

Possible causes Typo in username; wrong database/PDB targeted; user already dropped or never created.

Cannot Drop a User That Is Currently Connected

The DROP USER command failed because the user has active sessions in the database.

Oracle official reference
Read more

Cannot Drop a User That Is Currently Connected

Meaning The DROP USER command failed because the user has active sessions in the database.

Possible causes Active sessions using the account. Kill all user sessions first with ALTER SYSTEM KILL SESSION.

Integrity Constraint Violated β€” Parent Key Not Found

An INSERT or UPDATE on a child table failed because the referenced parent key does not exist.

Oracle official reference
Read more

Integrity Constraint Violated β€” Parent Key Not Found

Meaning An INSERT or UPDATE on a child table failed because the referenced parent key does not exist.

Possible causes Child record references a parent value not yet inserted; data load sequence error; wrong FK value.

Integrity Constraint Violated β€” Child Record Found

A DELETE on a parent table failed because related child records exist in a FOREIGN KEY constrained table.

Oracle official reference
Read more

Integrity Constraint Violated β€” Child Record Found

Meaning A DELETE on a parent table failed because related child records exist in a FOREIGN KEY constrained table.

Possible causes Attempting to delete a parent row without removing related child rows; missing CASCADE DELETE.

ORA-03113

2 scenarios

End-of-File on Communication Channel

The connection between client and Oracle server was unexpectedly terminated.

Oracle official reference
Read more

End-of-File on Communication Channel

Meaning The connection between client and Oracle server was unexpectedly terminated.

Possible causes Instance crash; network disconnection; firewall killing idle connections; server process killed by OOM killer.

End-of-File on Communication Channel β€” Firewall Idle Timeout

Meaning A stateful firewall silently dropped the Oracle TCP connection after an idle period, causing the next operation to fail with a broken pipe.

Possible causes Network firewall or load balancer with idle connection timeout shorter than Oracle session inactivity; fix by setting SQLNET.EXPIRE_TIME in sqlnet.ora to enable Oracle dead connection detection before firewall timeout.

Allocation failed in shared memory

Oracle could not allocate the requested memory in the pool named by the error.

Oracle official reference
Read more

Allocation failed in shared memory

Meaning Oracle could not allocate the requested memory in the pool named by the error.

What to check Capture the allocation size, pool, heap and trace. Inspect V$SGASTAT for that pool, memory pressure and cursor reuse before selecting a change.

ORA-04030

2 scenarios

Out of Process Memory When Trying to Allocate

An Oracle server process ran out of virtual memory while trying to allocate memory for an operation.

Oracle official reference
Read more

Out of Process Memory When Trying to Allocate

Meaning An Oracle server process ran out of virtual memory while trying to allocate memory for an operation.

Possible causes PGA_AGGREGATE_TARGET too small; concurrent large operations; OS swap exhausted; memory leak in session.

Out of Process Memory β€” Large Sort/Hash Join

Meaning A single query performing a large sort or hash join exhausted the OS virtual memory available to the Oracle server process.

Possible causes PGA_AGGREGATE_TARGET set too high relative to available OS memory causing overcommit; many concurrent memory-intensive operations; increase OS swap; reduce PGA_AGGREGATE_TARGET; optimize queries to reduce in-memory sort/join size.

Trigger Is Invalid and Failed Re-Validation

A DML operation failed because a trigger on the table is in an invalid state and could not be recompiled.

Oracle official reference
Read more

Trigger Is Invalid and Failed Re-Validation

Meaning A DML operation failed because a trigger on the table is in an invalid state and could not be recompiled.

Possible causes Trigger references a dropped or modified object; PL/SQL compilation error in trigger body.

PL/SQL Numeric or Value Error

A PL/SQL variable assignment failed due to data type mismatch, overflow, or string too long.

Oracle official reference
Read more

PL/SQL Numeric or Value Error

Meaning A PL/SQL variable assignment failed due to data type mismatch, overflow, or string too long.

Possible causes VARCHAR2 variable too small; NUMBER overflow; implicit conversion failure between incompatible types.

At Line Number (PL/SQL Stack Trace)

A stack trace message indicating the line number where an unhandled PL/SQL exception propagated.

Oracle official reference
Read more

At Line Number (PL/SQL Stack Trace)

Meaning A stack trace message indicating the line number where an unhandled PL/SQL exception propagated.

Possible causes Always accompanies another ORA error; points to the exact failing line in PL/SQL code. Not an error itself β€” use it to locate the root cause.

Exception Encountered β€” Core Dump

An unexpected OS-level exception (signal) was received within an Oracle process, potentially causing a core dump.

Oracle official reference
Read more

Exception Encountered β€” Core Dump

Meaning An unexpected OS-level exception (signal) was received within an Oracle process, potentially causing a core dump.

Possible causes Oracle software bug or environment issue; check alert log and trace files. Usually requires Oracle Support SR.

Client could not resolve the connect identifier

The naming method used by the client could not translate the supplied connect identifier into a connect descriptor.

Oracle official reference
Read more

Client could not resolve the connect identifier

Meaning The naming method used by the client could not translate the supplied connect identifier into a connect descriptor.

What to check Check the alias spelling, the client's Oracle home and TNS_ADMIN, and the order of naming methods in sqlnet.ora. If a listener was reached but does not know the service, look up ORA-12514.

TNS No Listener

No Oracle listener process is running on the specified host and port.

Oracle official reference
Read more

TNS No Listener

Meaning No Oracle listener process is running on the specified host and port.

Possible causes Listener process stopped or crashed; wrong port in tnsnames.ora; firewall blocking the listener port; listener not started after OS reboot.

TNS Listener Does Not Know of Service Requested

The Oracle listener does not recognize the service name being requested.

Oracle official reference
Read more

TNS Listener Does Not Know of Service Requested

Meaning The Oracle listener does not recognize the service name being requested.

Possible causes Service not registered; database not open; wrong SERVICE_NAME; listener needs reload after service name change.

TNS Protocol Adapter Error

A generic TNS/network protocol error preventing Oracle connection establishment.

Oracle official reference
Read more

TNS Protocol Adapter Error

Meaning A generic TNS/network protocol error preventing Oracle connection establishment.

Possible causes Windows: Oracle service not running. Linux: ORACLE_SID not set; listener not running; ORACLE_HOME environment incorrect.

Value exceeds the column length

The incoming value is longer than the destination column allows. The reported units follow the column's byte or character semantics.

Oracle official reference
Read more

Value exceeds the column length

Meaning The incoming value is longer than the destination column allows. The reported units follow the column's byte or character semantics.

What to check Check CHAR_USED, CHAR_LENGTH and DATA_LENGTH in ALL_TAB_COLUMNS. Compare LENGTH or LENGTHB as appropriate, including any character-set conversion.

Database Opened for Read-Only Access

A DML operation failed because the database is open in READ ONLY mode.

Oracle official reference
Read more

Database Opened for Read-Only Access

Meaning A DML operation failed because the database is open in READ ONLY mode.

Possible causes Connected to a Data Guard Active Data Guard standby (read-only); wrong database targeted for write operations.

Limit Exceeded for Recovery Files

The Fast Recovery Area (FRA) has exceeded its allocated disk quota.

Oracle official reference
Read more

Limit Exceeded for Recovery Files

Meaning The Fast Recovery Area (FRA) has exceeded its allocated disk quota.

Possible causes DB_RECOVERY_FILE_DEST_SIZE too small; old backups and archivelogs not being purged; retention policy not deleting obsolete files.

Fast recovery area space warning

Oracle reports the recovery area's usage and remaining bytes. The warning can appear before space is exhausted.

Oracle official reference
Read more

Fast recovery area space warning

Meaning Oracle reports the recovery area's usage and remaining bytes. The warning can appear before space is exhausted.

What to check Compare the reported capacity, reclaimable space and usage trend with V$RECOVERY_FILE_DEST. Verify backups and standby requirements before reclaiming files.

The Account Is Locked

The user account has been locked due to too many failed login attempts or explicit locking.

Oracle official reference
Read more

The Account Is Locked

Meaning The user account has been locked due to too many failed login attempts or explicit locking.

Possible causes FAILED_LOGIN_ATTEMPTS exceeded in user profile; account manually locked with ALTER USER ACCOUNT LOCK.

The Password Has Expired

The user's password has expired per the PASSWORD_LIFE_TIME setting in their profile.

Oracle official reference
Read more

The Password Has Expired

Meaning The user's password has expired per the PASSWORD_LIFE_TIME setting in their profile.

Possible causes PASSWORD_LIFE_TIME exceeded; Oracle default profile has PASSWORD_LIFE_TIME=180 days.

No Matching Authentication Protocol

The client and server cannot agree on an authentication protocol due to version mismatch.

Oracle official reference
Read more

No Matching Authentication Protocol

Meaning The client and server cannot agree on an authentication protocol due to version mismatch.

Possible causes Old client (11g) connecting to 12c+ server with strict ALLOWED_LOGON_VERSION_SERVER; adjust SQLNET.ALLOWED_LOGON_VERSION_SERVER.

Unable to Extend Segment in Undo Tablespace

The undo tablespace cannot extend to accommodate the current transaction's undo data.

Oracle official reference
Read more

Unable to Extend Segment in Undo Tablespace

Meaning The undo tablespace cannot extend to accommodate the current transaction's undo data.

Possible causes Undo tablespace full; AUTOEXTEND disabled; large bulk DML generating excessive undo; undo retention competition.

Obsolete or Deprecated Parameter(s) Specified

One or more initialization parameters in the SPFILE/PFILE are obsolete in the current Oracle version.

Oracle official reference
Read more

Obsolete or Deprecated Parameter(s) Specified

Meaning One or more initialization parameters in the SPFILE/PFILE are obsolete in the current Oracle version.

Possible causes Parameters valid in older Oracle versions that have been deprecated; typically encountered after an Oracle upgrade.

Generic Oracle message

This code carries message text supplied at runtime. The number alone does not identify the failing feature.

Oracle official reference
Read more

Generic Oracle message

Meaning This code carries message text supplied at runtime. The number alone does not identify the failing feature.

What to check Capture the complete message, stack and originating operation. Use those details to identify the underlying error.

Invalid Argument Value (Data Pump)

A Data Pump export or import operation received an invalid parameter value.

Oracle official reference
Read more

Invalid Argument Value (Data Pump)

Meaning A Data Pump export or import operation received an invalid parameter value.

Possible causes Incorrect syntax in expdp/impdp parameter file; unsupported option combination; wrong schema name or directory.

Unable to Open Log File (Data Pump)

The Data Pump job could not create or open its log file in the specified directory.

Oracle official reference
Read more

Unable to Open Log File (Data Pump)

Meaning The Data Pump job could not create or open its log file in the specified directory.

Possible causes Directory full or permissions denied; wrong LOGFILE parameter; OS-level write restriction on the export directory.

Pluggable Database Does Not Exist

An operation referenced a PDB name that does not exist in the CDB.

Oracle official reference
Read more

Pluggable Database Does Not Exist

Meaning An operation referenced a PDB name that does not exist in the CDB.

Possible causes Typo in PDB name; PDB dropped or unplugged; wrong CDB being queried; PDB name case sensitivity.

Operation Not Allowed From Within a Pluggable Database

A command that must be run from CDB$ROOT was attempted from within a PDB session.

Oracle official reference
Read more

Operation Not Allowed From Within a Pluggable Database

Meaning A command that must be run from CDB$ROOT was attempted from within a PDB session.

Possible causes Connected to wrong container; certain startup/shutdown and CDB-wide operations must be performed from the root container.

Invalid Common User or Role Name

A user/role creation in the CDB root failed because the name does not follow the required C## naming convention.

Oracle official reference
Read more

Invalid Common User or Role Name

Meaning A user/role creation in the CDB root failed because the name does not follow the required C## naming convention.

Possible causes In CDB$ROOT, common users must start with C## prefix by default; attempting CREATE USER without C## prefix.

ORA-14400

3 scenarios

Inserted Partition Key Does Not Map to Any Partition

A row being inserted has a partition key that doesn't match any defined partition range or list.

Oracle official reference
Read more

Inserted Partition Key Does Not Map to Any Partition

Meaning A row being inserted has a partition key that doesn't match any defined partition range or list.

Possible causes Missing partition for the incoming data range/list value; need MAXVALUE/DEFAULT partition or to create the missing partition.

Partition Key Out of Range β€” No MAXVALUE Partition

Meaning A value being inserted falls beyond all defined range partition boundaries and there is no MAXVALUE catch-all partition.

Possible causes Date partitioned table with future dates not yet defined; no PARTITION FOR (MAXVALUE); add a new partition with ALTER TABLE ADD PARTITION or include a MAXVALUE partition at creation time.

List Partition β€” No Matching Partition and No DEFAULT

Meaning A value being inserted into a LIST-partitioned table is not present in any partition's list of values and no DEFAULT partition exists.

Possible causes New list value introduced in the data without adding a corresponding partition; add the new value to an existing partition or create a new partition; include a DEFAULT partition to capture unmapped values.

Temporary Tablespace Is Empty

The temporary tablespace has no tempfiles, so sort and temporary operations cannot proceed.

Oracle official reference
Read more

Temporary Tablespace Is Empty

Meaning The temporary tablespace has no tempfiles, so sort and temporary operations cannot proceed.

Possible causes Tempfile missing after database creation/migration; TEMP tablespace created without adding a tempfile.

ORA-00904

3 scenarios

Invalid Identifier

Oracle cannot resolve a column name, alias, or expression used in the SQL statement.

Oracle official reference
Read more

Invalid Identifier

Meaning Oracle cannot resolve a column name, alias, or expression used in the SQL statement.

Possible causes Typo in column name; referencing a SELECT-list alias in a WHERE clause (aliases not allowed there); column does not exist in the referenced table; case-mismatch on a quoted identifier.

Invalid Identifier β€” Alias in WHERE Clause

Meaning A column alias defined in SELECT was referenced in the WHERE clause, which Oracle evaluates before the SELECT list.

Possible causes SQL processing order: WHERE is evaluated before SELECT alias assignment. Wrap query in a subquery or inline view to reference the alias, or repeat the expression in WHERE.

Invalid Identifier β€” Quoted Mixed-Case Column

Meaning An object created with double-quoted mixed-case identifiers must always be referenced with the exact same case and quotes.

Possible causes Column created as "firstName" (mixed case) but queried as FIRSTNAME. Oracle uppercases unquoted identifiers by default; always use "firstName" in every reference.

Missing Keyword

Oracle's SQL parser expected a specific keyword at a certain position but found something else or nothing.

Oracle official reference
Read more

Missing Keyword

Meaning Oracle's SQL parser expected a specific keyword at a certain position but found something else or nothing.

Possible causes Incomplete DML/DDL syntax; missing INTO in INSERT; missing SET in UPDATE; missing AS in CREATE VIEW; accidental use of reserved words as unquoted identifiers.

Missing Right Parenthesis

Oracle's parser detected an unmatched opening parenthesis or found unexpected content before a required closing parenthesis.

Oracle official reference
Read more

Missing Right Parenthesis

Meaning Oracle's parser detected an unmatched opening parenthesis or found unexpected content before a required closing parenthesis.

Possible causes Unbalanced parentheses in complex SQL; trailing comma before closing paren in CREATE TABLE; subquery parenthesis omitted; function call malformed.

Invalid Character

The SQL statement contains a character that is not valid at that position in Oracle SQL syntax.

Oracle official reference
Read more

Invalid Character

Meaning The SQL statement contains a character that is not valid at that position in Oracle SQL syntax.

Possible causes Semicolon included at end of SQL when executing via JDBC or OCI (not SQL*Plus); non-printable or Unicode character pasted into SQL text from an editor; curly brace or bracket misuse.

Missing Expression

Oracle expected a valid expression (column, literal, function) at a certain point in the SQL but found nothing.

Oracle official reference
Read more

Missing Expression

Meaning Oracle expected a valid expression (column, literal, function) at a certain point in the SQL but found nothing.

Possible causes Trailing comma after last column in SELECT list; empty IN() clause like col IN (); missing column after SELECT keyword; incomplete CASE WHEN expression.

Not a Single-Group Group Function

A SELECT list mixes aggregate functions (SUM, COUNT) with non-aggregated columns without a GROUP BY clause.

Oracle official reference
Read more

Not a Single-Group Group Function

Meaning A SELECT list mixes aggregate functions (SUM, COUNT) with non-aggregated columns without a GROUP BY clause.

Possible causes Attempting SELECT col, SUM(amount) FROM table without GROUP BY col; add GROUP BY for all non-aggregated columns or remove them from SELECT.

Name Already Used by an Existing Object

A CREATE statement failed because an object with the same name already exists in the current schema.

Oracle official reference
Read more

Name Already Used by an Existing Object

Meaning A CREATE statement failed because an object with the same name already exists in the current schema.

Possible causes Attempting to CREATE TABLE/VIEW/SEQUENCE that already exists; use CREATE OR REPLACE for views/procedures; for tables use DROP first or rename the existing object.

Cannot Insert NULL into Column

An INSERT statement omitted or explicitly set a NOT NULL constrained column to NULL.

Oracle official reference
Read more

Cannot Insert NULL into Column

Meaning An INSERT statement omitted or explicitly set a NOT NULL constrained column to NULL.

Possible causes Application not supplying a required column value; column added as NOT NULL after application was deployed; missing DEFAULT clause on a required column.

Inserted Value Too Large for Column

A CHAR or VARCHAR2 column received a value longer than its defined byte/character length.

Oracle official reference
Read more

Inserted Value Too Large for Column

Meaning A CHAR or VARCHAR2 column received a value longer than its defined byte/character length.

Possible causes Data length exceeds column definition; NLS character set causes single character to expand to multiple bytes; column needs ALTER TABLE MODIFY to increase size.

Such Column List Already Indexed

An attempt to create an index failed because an identical index (same columns, same order) already exists on the table.

Oracle official reference
Read more

Such Column List Already Indexed

Meaning An attempt to create an index failed because an identical index (same columns, same order) already exists on the table.

Possible causes Duplicate index creation; primary key or unique constraint automatically creates an index; DBA script re-run without idempotency check.

Single-Row Subquery Returns More Than One Row

A subquery used where a single value is expected (e.g., col = (SELECT ...)) returned multiple rows.

Oracle official reference
Read more

Single-Row Subquery Returns More Than One Row

Meaning A subquery used where a single value is expected (e.g., col = (SELECT ...)) returned multiple rows.

Possible causes Non-unique subquery result; use IN instead of = for multi-row subqueries; or add aggregate (MAX, MIN) to ensure scalar result; or add WHERE to make subquery return one row.

Divisor Is Equal to Zero

A division operation in SQL or PL/SQL attempted to divide a number by zero.

Oracle official reference
Read more

Divisor Is Equal to Zero

Meaning A division operation in SQL or PL/SQL attempted to divide a number by zero.

Possible causes Division expression lacks zero-guard; use NULLIF(denominator, 0) to return NULL instead of dividing; or add CASE WHEN denominator = 0 THEN NULL ELSE numerator/denominator END.

Result of String Concatenation Is Too Long

A concatenation operation produced a result exceeding the 4000-byte SQL limit or 32767-byte PL/SQL VARCHAR2 limit.

Oracle official reference
Read more

Result of String Concatenation Is Too Long

Meaning A concatenation operation produced a result exceeding the 4000-byte SQL limit or 32767-byte PL/SQL VARCHAR2 limit.

Possible causes Concatenating many large strings; aggregate string building in PL/SQL loop; use CLOB datatype for results exceeding VARCHAR2 limits.

Invalid Number Format Model

The format string passed to TO_CHAR or TO_NUMBER contains characters that are not valid number format elements.

Oracle official reference
Read more

Invalid Number Format Model

Meaning The format string passed to TO_CHAR or TO_NUMBER contains characters that are not valid number format elements.

Possible causes Incorrect format mask (e.g., 'DD-MON-YYYY' used for a number); mixing date and number format elements; non-standard separator in format string.

Database Name Mismatch

The DB_NAME initialization parameter does not match the database name recorded in the controlfile.

Oracle official reference
Read more

Database Name Mismatch

Meaning The DB_NAME initialization parameter does not match the database name recorded in the controlfile.

Possible causes SPFILE DB_NAME changed after controlfile creation; wrong controlfile used after restore; duplicate/clone database not reconfigured correctly.

Database Not Mounted

An operation requiring a mounted database was attempted while the instance is only in NOMOUNT state.

Oracle official reference
Read more

Database Not Mounted

Meaning An operation requiring a mounted database was attempted while the instance is only in NOMOUNT state.

Possible causes Controlfile not read during startup; STARTUP NOMOUNT used and DBA forgot to issue ALTER DATABASE MOUNT; missing or corrupt controlfile preventing mount stage.

Recovery finished with an outstanding inconsistency

The recovery command returned, but Oracle predicts that OPEN RESETLOGS would fail with the accompanying error.

Oracle official reference
Read more

Recovery finished with an outstanding inconsistency

Meaning The recovery command returned, but Oracle predicts that OPEN RESETLOGS would fail with the accompanying error.

What to check Read the next message and identify the affected datafile. Recheck the restored backup and redo coverage against the intended recovery point before opening.

In-doubt distributed transaction holds a lock

A distributed transaction awaiting its final outcome holds a lock needed by this operation.

Oracle official reference
Read more

In-doubt distributed transaction holds a lock

Meaning A distributed transaction awaiting its final outcome holds a lock needed by this operation.

What to check Identify the transaction in DBA_2PC_PENDING and coordinate with the other sites. RECO normally reconciles it after connectivity returns. Force a decision only from a confirmed outcome under the recovery procedure. PURGE_LOST_DB_ENTRY is exceptional metadata cleanup after a site is permanently lost or recreated.

Max Extents Reached in Table

A table segment reached its MAXEXTENTS storage parameter limit and cannot allocate additional extents.

Oracle official reference
Read more

Max Extents Reached in Table

Meaning A table segment reached its MAXEXTENTS storage parameter limit and cannot allocate additional extents.

Possible causes Legacy MAXEXTENTS setting on a table; common in older DICTIONARY-managed tablespaces; use ALTER TABLE STORAGE (MAXEXTENTS UNLIMITED) or migrate to locally managed tablespace.

Unable to Extend Index Segment in Tablespace

An index segment could not grow because the tablespace hosting the index has insufficient free space.

Oracle official reference
Read more

Unable to Extend Index Segment in Tablespace

Meaning An index segment could not grow because the tablespace hosting the index has insufficient free space.

Possible causes Index tablespace full; AUTOEXTEND disabled on index datafiles; large data load causing rapid index growth; add datafile or enable AUTOEXTEND on existing datafile.

Unable to Create INITIAL Extent for Segment

Oracle could not find a contiguous free block to satisfy the INITIAL extent requirement for a new segment.

Oracle official reference
Read more

Unable to Create INITIAL Extent for Segment

Meaning Oracle could not find a contiguous free block to satisfy the INITIAL extent requirement for a new segment.

Possible causes Tablespace has free space in total but no single contiguous chunk large enough; fragmentation issue; coalesce the tablespace or add a new datafile.

Unable to Extend LOB Segment

A LOB segment (CLOB, BLOB, NCLOB) cannot extend because its tablespace has run out of space.

Oracle official reference
Read more

Unable to Extend LOB Segment

Meaning A LOB segment (CLOB, BLOB, NCLOB) cannot extend because its tablespace has run out of space.

Possible causes LOB tablespace full; AUTOEXTEND disabled; unexpected LOB data growth; add a datafile to the LOB tablespace or enable AUTOEXTEND on existing datafile.

Quoted String Not Properly Terminated

A string literal in the SQL statement was opened with a single quote but never properly closed.

Oracle official reference
Read more

Quoted String Not Properly Terminated

Meaning A string literal in the SQL statement was opened with a single quote but never properly closed.

Possible causes Unescaped single quote inside a string literal (use '' to escape); line continuation error; copy-paste from a word processor introducing smart quotes instead of standard single quotes.

Date Format Picture Ends Before Converting Entire Input String

The format mask passed to TO_DATE is shorter than the actual date string being converted, leaving unconverted characters.

Oracle official reference
Read more

Date Format Picture Ends Before Converting Entire Input String

Meaning The format mask passed to TO_DATE is shorter than the actual date string being converted, leaving unconverted characters.

Possible causes Format mask 'DD-MON-YYYY' used for a string like '01-JAN-2024 10:30:00'; add HH24:MI:SS to the format mask or truncate the input string; use FX modifier for exact matching.

A Non-Numeric Character Was Found Where a Numeric Was Expected

Oracle expected a numeric digit in the date string at a position specified by the format mask but found a letter or symbol instead.

Oracle official reference
Read more

A Non-Numeric Character Was Found Where a Numeric Was Expected

Meaning Oracle expected a numeric digit in the date string at a position specified by the format mask but found a letter or symbol instead.

Possible causes Format mask 'DD/MM/YYYY' used for a string like '01-JAN-2024'; mismatch between separator characters in format and data; verify format mask exactly matches the input string structure.

Connection Description for Remote Database Not Found

A database link query failed because the service name defined in the link's USING clause cannot be resolved.

Oracle official reference
Read more

Connection Description for Remote Database Not Found

Meaning A database link query failed because the service name defined in the link's USING clause cannot be resolved.

Possible causes TNS alias used in CREATE DATABASE LINK USING clause missing from tnsnames.ora on the DB server; listener on remote DB not running; verify with SELECT * FROM USER_DB_LINKS and test tnsping from the server.

Timeout β€” Distributed Transaction Waiting for Lock

A distributed transaction (involving a database link) waited beyond the DISTRIBUTED_LOCK_TIMEOUT limit for a remote lock.

Oracle official reference
Read more

Timeout β€” Distributed Transaction Waiting for Lock

Meaning A distributed transaction (involving a database link) waited beyond the DISTRIBUTED_LOCK_TIMEOUT limit for a remote lock.

Possible causes Lock contention on the remote database; long-running remote transaction; network latency; increase DISTRIBUTED_LOCK_TIMEOUT or investigate locking on the remote database.

Database Link Connects to Wrong Database

The GLOBAL_NAMES parameter enforces that the database link name must match the remote database's global name, but they differ.

Oracle official reference
Read more

Database Link Connects to Wrong Database

Meaning The GLOBAL_NAMES parameter enforces that the database link name must match the remote database's global name, but they differ.

Possible causes GLOBAL_NAMES=TRUE set but DB link name does not match remote DB's GLOBAL_NAME; either set GLOBAL_NAMES=FALSE or recreate the link with the correct global name of the remote database.

Not Connected to Oracle

The Oracle session has been terminated or the connection to the server process has been lost.

Oracle official reference
Read more

Not Connected to Oracle

Meaning The Oracle session has been terminated or the connection to the server process has been lost.

Possible causes Server process killed (ALTER SYSTEM KILL SESSION); instance restart; network interruption; OOM killer terminated the server process; application must reconnect and reissue the transaction.

Deadlock Detected While Trying to Lock Object

Two sessions deadlocked while attempting to lock a PL/SQL object in the library cache (e.g., simultaneous recompile of mutually-dependent packages).

Oracle official reference
Read more

Deadlock Detected While Trying to Lock Object

Meaning Two sessions deadlocked while attempting to lock a PL/SQL object in the library cache (e.g., simultaneous recompile of mutually-dependent packages).

Possible causes Concurrent recompilation of interdependent packages; circular dependency between PL/SQL objects; schedule recompilations serially or use DBMS_UTILITY.COMPILE_SCHEMA.

Timeout Occurred While Waiting to Lock Object

An ALTER PROCEDURE/PACKAGE recompile or DDL statement could not acquire a library cache lock on the named object within the timeout period.

Oracle official reference
Read more

Timeout Occurred While Waiting to Lock Object

Meaning An ALTER PROCEDURE/PACKAGE recompile or DDL statement could not acquire a library cache lock on the named object within the timeout period.

Possible causes Object actively being used by another session; long-running PL/SQL referencing the object; identify blocking session via V$ACCESS and V$SESSION, then kill it before recompiling.

Errors During Recompilation/Revalidation of Object

Oracle attempted to automatically revalidate an invalid PL/SQL object but the recompilation failed.

Oracle official reference
Read more

Errors During Recompilation/Revalidation of Object

Meaning Oracle attempted to automatically revalidate an invalid PL/SQL object but the recompilation failed.

Possible causes Dependent object (table, package, type) was dropped or altered; the PL/SQL object references a column or object that no longer exists in its original form; check USER_ERRORS after manual recompile.

Existing State of Package Has Been Invalidated

The package body was recompiled or replaced while a session had initialized package-level state (variables), invalidating that state.

Oracle official reference
Read more

Existing State of Package Has Been Invalidated

Meaning The package body was recompiled or replaced while a session had initialized package-level state (variables), invalidating that state.

Possible causes DBA recompiled a package while application sessions held package state; all existing sessions must reconnect or call the package again to reinitialize; design stateless packages where possible.

Stored object has errors

Oracle tried to use an object with compilation or dependency errors. A package body is one example.

Oracle official reference
Read more

Stored object has errors

Meaning Oracle tried to use an object with compilation or dependency errors. A package body is one example.

What to check Check its owner and type in ALL_OBJECTS. Read ALL_ERRORS in sequence order, and correct the first relevant error or missing dependency.

Existing State of Packages Has Been Discarded

Package-level variables (global state) were discarded because the package was recompiled mid-session.

Oracle official reference
Read more

Existing State of Packages Has Been Discarded

Meaning Package-level variables (global state) were discarded because the package was recompiled mid-session.

Possible causes Online package redeployment while users are connected; the second call to the package after recompile triggers this; applications should handle ORA-04068 by retrying the operation once to reinitialize state.

Table Is Mutating β€” Trigger May Not See It

A row-level trigger tried to query or modify the same table that fired the trigger while it is in the middle of being changed.

Oracle official reference
Read more

Table Is Mutating β€” Trigger May Not See It

Meaning A row-level trigger tried to query or modify the same table that fired the trigger while it is in the middle of being changed.

Possible causes FOR EACH ROW trigger on TABLE_A querying TABLE_A; redesign using a compound trigger (11g+) with AFTER STATEMENT section, or use a package-level collection to cache values and process after the statement.

PL/SQL Storage Error

PL/SQL ran out of memory to complete the current operation, often when working with large collections or deep recursion.

Oracle official reference
Read more

PL/SQL Storage Error

Meaning PL/SQL ran out of memory to complete the current operation, often when working with large collections or deep recursion.

Possible causes Unbounded BULK COLLECT filling a collection beyond PGA limits; deep recursive PL/SQL call stack; process PGA_AGGREGATE_TARGET too low; use LIMIT clause with BULK COLLECT to process in batches.

Reference to Uninitialized Composite

A PL/SQL program attempted to access an attribute of an object type or record variable that was never initialized.

Oracle official reference
Read more

Reference to Uninitialized Composite

Meaning A PL/SQL program attempted to access an attribute of an object type or record variable that was never initialized.

Possible causes Object type variable declared but never constructed with its constructor function; access attribute before calling obj_type(); always initialize object variables before attribute access.

Reference to Uninitialized Collection

A nested table or varray PL/SQL variable was declared but never initialized before being accessed.

Oracle official reference
Read more

Reference to Uninitialized Collection

Meaning A nested table or varray PL/SQL variable was declared but never initialized before being accessed.

Possible causes Nested table declared as TYPE t IS TABLE OF VARCHAR2(100) but not initialized with t := type_constructor(); always call the collection constructor or use EXTEND before populating elements.

Subscript Beyond Count

A PL/SQL collection was accessed at an index position beyond the number of existing elements.

Oracle official reference
Read more

Subscript Beyond Count

Meaning A PL/SQL collection was accessed at an index position beyond the number of existing elements.

Possible causes Accessing collection(i) where i > collection.COUNT; off-by-one error in loop; use col.LAST or col.COUNT to guard loop boundaries; always check collection.EXISTS(i) before access.

PL/SQL Compilation Error (Line/Column)

A PL/SQL block, procedure, function, or package failed to compile due to a syntax or semantic error at the indicated line and column.

Oracle official reference
Read more

PL/SQL Compilation Error (Line/Column)

Meaning A PL/SQL block, procedure, function, or package failed to compile due to a syntax or semantic error at the indicated line and column.

Possible causes Syntax error in PL/SQL body; referencing non-existent objects; type mismatch in assignment; check exact line number indicated and query USER_ERRORS for detailed messages after CREATE OR REPLACE.

Sequence Exceeds MAXVALUE Cannot Be Instantiated

The sequence has reached its MAXVALUE and NOCYCLE is set, so NEXTVAL cannot produce further values.

Oracle official reference
Read more

Sequence Exceeds MAXVALUE Cannot Be Instantiated

Meaning The sequence has reached its MAXVALUE and NOCYCLE is set, so NEXTVAL cannot produce further values.

Possible causes Sequence exhausted; MAXVALUE set too low; use ALTER SEQUENCE MAXVALUE 9999999999999 to extend it, or ALTER SEQUENCE CYCLE if repeating values are acceptable for the use case.

The target row no longer exists

The operation expected to find a particular row, but that row was no longer present.

Oracle official reference
Read more

The target row no longer exists

Meaning The operation expected to find a particular row, but that row was no longer present.

What to check Identify the statement, row identifier and concurrent changes. Reread the row by its business key before deciding whether a retry is valid.

TNS No Appropriate Service Handler Found

The listener found the service but could not route the connection because all available handlers (dedicated servers or dispatchers) are busy or exhausted.

Oracle official reference
Read more

TNS No Appropriate Service Handler Found

Meaning The listener found the service but could not route the connection because all available handlers (dedicated servers or dispatchers) are busy or exhausted.

Possible causes PROCESSES or SESSIONS parameter limit reached; too many concurrent connections; connection pool not returning connections; increase PROCESSES parameter and bounce the instance.

TNS Listener β€” All Appropriate Instances Are Blocking New Connections

The database instance is registered with the listener but is in a state (MOUNT, RESTRICT) that blocks new user connections.

Oracle official reference
Read more

TNS Listener β€” All Appropriate Instances Are Blocking New Connections

Meaning The database instance is registered with the listener but is in a state (MOUNT, RESTRICT) that blocks new user connections.

Possible causes Database opened with STARTUP RESTRICT; instance in middle of startup or shutdown; normal connections blocked by DBA activity; wait for OPEN state or connect as SYSDBA internally.

Connect Failed Because Target Host or Object Does Not Exist

Oracle cannot resolve the hostname specified in the connection descriptor because DNS resolution failed or the host does not exist.

Oracle official reference
Read more

Connect Failed Because Target Host or Object Does Not Exist

Meaning Oracle cannot resolve the hostname specified in the connection descriptor because DNS resolution failed or the host does not exist.

Possible causes Incorrect hostname or IP in tnsnames.ora; DNS entry removed or changed after server migration; firewall blocking DNS; verify with ping and nslookup from the application server.

TNS Lost Contact

The connection was established at the TCP level but the Oracle server process died or failed to complete the authentication handshake.

Oracle official reference
Read more

TNS Lost Contact

Meaning The connection was established at the TCP level but the Oracle server process died or failed to complete the authentication handshake.

Possible causes Server process immediately crashed after spawn; check alert log for ORA-00600 or ORA-07445 at connection time; OS-level ulimit issues for the oracle user; trace file in $ORACLE_BASE/diag.

Cannot Backup or Copy Active File in NOARCHIVELOG Mode

An RMAN hot (online) backup was attempted but the database is in NOARCHIVELOG mode, which does not support online backups.

Oracle official reference
Read more

Cannot Backup or Copy Active File in NOARCHIVELOG Mode

Meaning An RMAN hot (online) backup was attempted but the database is in NOARCHIVELOG mode, which does not support online backups.

Possible causes Hot backup requires ARCHIVELOG mode because Oracle needs redo logs to make the backup consistent; enable ARCHIVELOG mode or take a cold (consistent) backup after SHUTDOWN IMMEDIATE.

Error Identifying File (RMAN)

RMAN cannot identify or open the specified datafile, possibly because it has been renamed, moved, or is missing from the OS.

Oracle official reference
Read more

Error Identifying File (RMAN)

Meaning RMAN cannot identify or open the specified datafile, possibly because it has been renamed, moved, or is missing from the OS.

Possible causes Datafile renamed at OS level without updating Oracle; ASM disk group rebalanced the file path; use ALTER DATABASE RENAME FILE to update Oracle's controlfile reference.

Error Reading Backup Piece

RMAN encountered an error while reading from a backup piece during a restore operation.

Oracle official reference
Read more

Error Reading Backup Piece

Meaning RMAN encountered an error while reading from a backup piece during a restore operation.

Possible causes Backup piece corrupt or incomplete; tape read error; backup piece expired or deleted from catalog but still referenced; validate backup with RMAN VALIDATE BACKUPSET before restore.

Invalid LOB Locator Specified

An attempt was made to read or write a LOB using a locator that is no longer valid in the current session or transaction context.

Oracle official reference
Read more

Invalid LOB Locator Specified

Meaning An attempt was made to read or write a LOB using a locator that is no longer valid in the current session or transaction context.

Possible causes LOB locator fetched in one session/transaction and used in another; LOB locator stale after a COMMIT when not using SELECT FOR UPDATE; re-fetch the LOB locator in the same transaction before accessing it.

Cannot Use LOB Locators Selected from Remote Tables

A SELECT over a database link returned a LOB column, but Oracle cannot maintain LOB locators across DB link boundaries.

Oracle official reference
Read more

Cannot Use LOB Locators Selected from Remote Tables

Meaning A SELECT over a database link returned a LOB column, but Oracle cannot maintain LOB locators across DB link boundaries.

Possible causes Querying a CLOB or BLOB column from a remote table via database link; workaround: use DBMS_LOB.SUBSTR to read partial content, or use a remote procedure to convert LOB to VARCHAR2/RAW chunks before transferring.

Error(s) in Array DML (FORALL)

One or more statements in a FORALL bulk DML operation failed, and the SAVE EXCEPTIONS clause was used to capture them.

Oracle official reference
Read more

Error(s) in Array DML (FORALL)

Meaning One or more statements in a FORALL bulk DML operation failed, and the SAVE EXCEPTIONS clause was used to capture them.

Possible causes Mixed valid/invalid data in the bulk collection; check SQL%BULK_EXCEPTIONS array after the FORALL block to identify which rows failed and why; each element has ERROR_INDEX and ERROR_CODE.

File Write Error (UTL_FILE)

UTL_FILE.PUT_LINE or UTL_FILE.FFLUSH failed when attempting to write to a file on the server filesystem.

Oracle official reference
Read more

File Write Error (UTL_FILE)

Meaning UTL_FILE.PUT_LINE or UTL_FILE.FFLUSH failed when attempting to write to a file on the server filesystem.

Possible causes Filesystem full; OS-level write permissions denied for the oracle user on the directory; directory quota exceeded; file handle not properly opened; verify the Oracle directory object points to a writable OS path.

Invalid File Operation (UTL_FILE)

UTL_FILE.FOPEN failed because the OS directory does not exist, the Oracle Directory object is invalid, or the oracle user lacks read/write permissions.

Oracle official reference
Read more

Invalid File Operation (UTL_FILE)

Meaning UTL_FILE.FOPEN failed because the OS directory does not exist, the Oracle Directory object is invalid, or the oracle user lacks read/write permissions.

Possible causes Oracle DIRECTORY object path does not match an existing OS directory; oracle user not in the OS group with access; directory was renamed or deleted; verify with SELECT DIRECTORY_PATH FROM DBA_DIRECTORIES.

Unable to Get a Stable Set of Rows in Source Tables

A MERGE statement cannot proceed because the source query returns multiple rows that match the same target row, making the outcome non-deterministic.

Oracle official reference
Read more

Unable to Get a Stable Set of Rows in Source Tables

Meaning A MERGE statement cannot proceed because the source query returns multiple rows that match the same target row, making the outcome non-deterministic.

Possible causes Source of MERGE produces duplicate key values for the join condition; MERGE requires each target row to match at most one source row; deduplicate the source with ROW_NUMBER() OVER (PARTITION BY key) before the MERGE.

Job Does Not Exist (Data Pump)

An attempt to attach to or monitor a Data Pump job by name failed because that job does not exist or has already completed.

Oracle official reference
Read more

Job Does Not Exist (Data Pump)

Meaning An attempt to attach to or monitor a Data Pump job by name failed because that job does not exist or has already completed.

Possible causes Wrong job name specified in expdp ATTACH= parameter; job completed and was auto-dropped; check active jobs with SELECT JOB_NAME, STATE FROM DBA_DATAPUMP_JOBS WHERE STATE != 'NOT RUNNING'.

No Data or Metadata Objects Selected for Job (Data Pump)

A Data Pump export job completed with no objects exported because the filter criteria matched nothing.

Oracle official reference
Read more

No Data or Metadata Objects Selected for Job (Data Pump)

Meaning A Data Pump export job completed with no objects exported because the filter criteria matched nothing.

Possible causes TABLES= or SCHEMAS= parameter specified a non-existent object; QUERY= filter excluded all rows; wrong PDB targeted; verify object names with SELECT TABLE_NAME FROM DBA_TABLES before running expdp.

Object Type Failed to Create (Data Pump Import)

During impdp, a specific object (table, index, constraint, grant) could not be created in the target database.

Oracle official reference
Read more

Object Type Failed to Create (Data Pump Import)

Meaning During impdp, a specific object (table, index, constraint, grant) could not be created in the target database.

Possible causes Target schema missing required tablespace; name collision with existing object; insufficient privileges for the import user; check the Data Pump log file for the exact DDL that failed and the ORA error it triggered.

Unexpected error in a Data Pump job

The Data Pump job reported another error during processing.

Oracle official reference
Read more

Unexpected error in a Data Pump job

Meaning The Data Pump job reported another error during processing.

What to check Read the subordinate error number, job log and worker or master trace to identify the failing step.

Database Vault command rule already exists

A rule for the specified command and object has already been defined.

Oracle official reference
Read more

Database Vault command rule already exists

Meaning A rule for the specified command and object has already been defined.

What to check Inspect the existing command rule, owner and object before deciding whether its definition needs an update.

Nonconstant value in a pivot value list

A PIVOT or UNPIVOT value list contains an expression where Oracle requires a constant.

Oracle official reference
Read more

Nonconstant value in a pivot value list

Meaning A PIVOT or UNPIVOT value list contains an expression where Oracle requires a constant.

What to check Inspect each item in the value list. Supply supported constant values or restructure the query when the list must be dynamic.

DDL failed in a pluggable database

While processing DDL across containers, Oracle encountered an error in the PDB named in the stack.

Oracle official reference
Read more

DDL failed in a pluggable database

Meaning While processing DDL across containers, Oracle encountered an error in the PDB named in the stack.

What to check Read the underlying ORA message and inspect the object in that PDB. Check the outcome in the affected containers before retrying.

Maximum Number of Processes Exceeded

The PROCESSES initialization parameter limit has been reached and Oracle cannot spawn another server process for a new connection.

Oracle official reference
Read more

Maximum Number of Processes Exceeded

Meaning The PROCESSES initialization parameter limit has been reached and Oracle cannot spawn another server process for a new connection.

Possible causes PROCESSES parameter set too low; connection pool misconfiguration causing connection leak; too many concurrent users; increase PROCESSES (requires restart), kill idle sessions, or implement connection pooling.

Session Marked for Kill

A session targeted by ALTER SYSTEM KILL SESSION is waiting for a resource and cannot be immediately terminated β€” it is marked for deferred killing.

Oracle official reference
Read more

Session Marked for Kill

Meaning A session targeted by ALTER SYSTEM KILL SESSION is waiting for a resource and cannot be immediately terminated β€” it is marked for deferred killing.

Possible causes The session is waiting for a lock or I/O to complete before it can be killed; use ALTER SYSTEM KILL SESSION '...' IMMEDIATE for faster termination; alternatively kill the OS process with ORAKILL (Windows) or kill -9 (Linux) using the SPID from V$SESSION.

Active Time Limit Exceeded β€” Call Aborted

Oracle Resource Manager terminated a database call because the session exceeded the MAX_ACTIVE_SESS_TARGET or active call time limit defined in the active Resource Plan.

Oracle official reference
Read more

Active Time Limit Exceeded β€” Call Aborted

Meaning Oracle Resource Manager terminated a database call because the session exceeded the MAX_ACTIVE_SESS_TARGET or active call time limit defined in the active Resource Plan.

Possible causes Resource Manager consumer group with strict CPU/time limits; runaway query exceeded defined execution time; review DBMS_RESOURCE_MANAGER plan directives and adjust SWITCH_TIME or MAX_ACTIVE_SESS_TARGET parameters.

Invalid Specification for System Parameter

An ALTER SYSTEM SET command specified an invalid value for an initialization parameter.

Oracle official reference
Read more

Invalid Specification for System Parameter

Meaning An ALTER SYSTEM SET command specified an invalid value for an initialization parameter.

Possible causes Value out of allowed range; wrong data type for parameter (string vs integer); dependent parameter constraint violated (e.g., setting SGA_TARGET larger than SGA_MAX_SIZE); check valid range in Oracle documentation.

Control File Could Not Be Created

Oracle attempted to create a new controlfile (CREATE CONTROLFILE) but failed to write to the specified location.

Oracle official reference
Read more

Control File Could Not Be Created

Meaning Oracle attempted to create a new controlfile (CREATE CONTROLFILE) but failed to write to the specified location.

Possible causes Target directory does not exist or is not writable by oracle user; disk full; wrong path specified in CONTROLFILE parameter; verify OS path permissions before executing CREATE CONTROLFILE script.

Error in Reading Block of Control File

Oracle encountered an I/O error while reading the controlfile, potentially indicating corruption or a storage-level issue.

Oracle official reference
Read more

Error in Reading Block of Control File

Meaning Oracle encountered an I/O error while reading the controlfile, potentially indicating corruption or a storage-level issue.

Possible causes Storage hardware failure; controlfile on a failed disk; use a multiplexed controlfile copy to recover; restore controlfile from RMAN backup using RESTORE CONTROLFILE FROM AUTOBACKUP.

Corrupt Block Detected in Control File

Oracle detected a corrupt block within the controlfile, indicating the controlfile is damaged and cannot be trusted.

Oracle official reference
Read more

Corrupt Block Detected in Control File

Meaning Oracle detected a corrupt block within the controlfile, indicating the controlfile is damaged and cannot be trusted.

Possible causes Disk corruption; abrupt OS shutdown during controlfile write; restore controlfile from the multiplexed copy or from RMAN backup; never proceed with a corrupt controlfile.

Data File β€” Informational Reference in Error Stack

This message always accompanies another error and identifies the specific datafile by number and path that is involved in the error condition.

Oracle official reference
Read more

Data File β€” Informational Reference in Error Stack

Meaning This message always accompanies another error and identifies the specific datafile by number and path that is involved in the error condition.

Possible causes Not a standalone error; provides context for ORA-01157, ORA-01113, or ORA-01578; use the file# and filename to target RMAN recovery or OS-level investigation for the root-cause error above it in the stack.

Cannot Read from File Because It Failed Verification Checks

A datafile passed to an operation (backup, restore, recovery) failed Oracle's internal consistency checks and cannot be used.

Oracle official reference
Read more

Cannot Read from File Because It Failed Verification Checks

Meaning A datafile passed to an operation (backup, restore, recovery) failed Oracle's internal consistency checks and cannot be used.

Possible causes Datafile header corrupt; wrong datafile restored to wrong location; file is not a valid Oracle datafile; verify datafile headers with DBVERIFY utility: dbv file=/path/to/datafile.dbf blocksize=8192.

A datafile needs more recovery

The named file is inconsistent with the recovery point the database is trying to open.

Oracle official reference
Read more

A datafile needs more recovery

Meaning The named file is inconsistent with the recovery point the database is trying to open.

What to check Compare its checkpoint with the target recovery point. Identify the required redo or an appropriate earlier backup of that file before completing recovery.

Database Not Open β€” Queries Allowed on Fixed Tables/Views Only

An attempt to query a user table or view failed because the database is in MOUNT state and only V$ fixed views are accessible.

Oracle official reference
Read more

Database Not Open β€” Queries Allowed on Fixed Tables/Views Only

Meaning An attempt to query a user table or view failed because the database is in MOUNT state and only V$ fixed views are accessible.

Possible causes Database not opened (still in MOUNT); DBA connected as SYSDBA but forgot to open; use ALTER DATABASE OPEN or investigate why OPEN is failing (check V$RECOVER_FILE for files needing recovery).

Maximum Key Length Exceeded

An index creation failed because the combined byte length of the indexed columns exceeds the maximum allowed index key size.

Oracle official reference
Read more

Maximum Key Length Exceeded

Meaning An index creation failed because the combined byte length of the indexed columns exceeds the maximum allowed index key size.

Possible causes Oracle limits index key size to approximately 75% of the DB_BLOCK_SIZE (e.g., 6398 bytes for 8K blocks); composite index on multiple large VARCHAR2 columns; reduce indexed column widths or use a function-based index on a hash.

Can Bind LONG Value Only for Insert into LONG Column

A bind variable containing a string larger than 4000 bytes was used in a context other than inserting into a LONG column.

Oracle official reference
Read more

Can Bind LONG Value Only for Insert into LONG Column

Meaning A bind variable containing a string larger than 4000 bytes was used in a context other than inserting into a LONG column.

Possible causes Passing a >4000 byte string via JDBC or OCI to a VARCHAR2 column without using CLOB binding; use setClob/CLOB bind type for large text values; or switch the target column to CLOB datatype.

Exceeded Maximum Idle Time

A session was automatically disconnected because it exceeded the IDLE_TIME limit defined in the Oracle user profile or Resource Manager plan.

Oracle official reference
Read more

Exceeded Maximum Idle Time

Meaning A session was automatically disconnected because it exceeded the IDLE_TIME limit defined in the Oracle user profile or Resource Manager plan.

Possible causes IDLE_TIME parameter in user profile set too low; long-running application holding a connection while idle; increase IDLE_TIME in the profile or implement keep-alive pings from the connection pool.

Session exceeded its PRIVATE_SGA limit

A session exceeded the private SGA allowance in its profile. This limit applies to private session memory in a shared-server configuration. Oracle ends the session when the limit is exceeded.

Oracle official reference
Read more

Session exceeded its PRIVATE_SGA limit

Meaning A session exceeded the private SGA allowance in its profile. This limit applies to private session memory in a shared-server configuration. Oracle ends the session when the limit is exceeded.

What to check Check the user's profile, PRIVATE_SGA setting and server mode. Review the workload and its session-memory needs.

Duplicate archive received by RFS

The destination already has the archived log that the sender attempted to archive again.

Oracle official reference
Read more

Duplicate archive received by RFS

Meaning The destination already has the archived log that the sender attempted to archive again.

Troubleshooting This is an informational event. Review the alert log and trace for context. If redo apply separately reports a gap, check V$ARCHIVE_GAP on the physical standby.

ORA-16766

2 scenarios

Redo Apply Stopped (Data Guard)

The Managed Recovery Process (MRP) on a physical standby has stopped applying redo, causing the standby to fall behind the primary.

Oracle official reference
Read more

Redo Apply Stopped (Data Guard)

Meaning The Managed Recovery Process (MRP) on a physical standby has stopped applying redo, causing the standby to fall behind the primary.

Possible causes Archived log gap; missing archive log; ORA-01578 block corruption on standby; MRP process crash; check standby alert log and V$DATAGUARD_STATUS; restart apply with ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT.

Redo Apply Stopped β€” MRP Archive Gap

Meaning The Managed Recovery Process (MRP) stopped applying redo because it encountered a missing archived log in the sequence, creating a gap between the last applied log and the next available one.

Possible causes Missing archivelog on standby due to network interruption during transport; archivelog purged from primary before being shipped to standby; standby's archive destination ran out of space causing logs to be skipped; FETCH ARCHIVE LOG FROM SERVICE configuration issue.

Troubleshooting Identify gap: SELECT THREAD#, LOW_SEQUENCE#, HIGH_SEQUENCE# FROM V$ARCHIVE_GAP; fetch missing logs from primary: RMAN> RECOVER DATABASE; (connected to standby) or: ALTER DATABASE REGISTER LOGFILE '/path/to/archived_log.arc'; restart MRP: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION; enable automatic fetch: LOG_ARCHIVE_DEST_n='...' VALID_FOR=(STANDBY_LOGFILE,STANDBY_ROLE) DB_UNIQUE_NAME=...' ASYNC NOAFFIRM.

Execution of Jobs Failed

One or more DBMS_JOB scheduled jobs failed to execute and may have been automatically marked as broken.

Oracle official reference
Read more

Execution of Jobs Failed

Meaning One or more DBMS_JOB scheduled jobs failed to execute and may have been automatically marked as broken.

Possible causes PL/SQL in the job raised an unhandled exception; object referenced by the job is invalid; job marked BROKEN after 16 consecutive failures; check DBA_JOBS.FAILURES and DBA_JOBS.WHAT; use DBMS_JOB.BROKEN to reset and DBMS_JOB.RUN to test manually.

OS post/wait facility could not be created

Oracle could not initialize the operating-system facility used to coordinate processes.

Oracle official reference
Read more

OS post/wait facility could not be created

Meaning Oracle could not initialize the operating-system facility used to coordinate processes.

What to check Read the accompanying OS error. Compare actual IPC usage with kernel limits and identify resources belonging to each running instance before considering a change.

Out of Memory β€” Cannot Allocate SGA

Oracle could not allocate the shared memory segment required for the SGA during instance startup.

Oracle official reference
Read more

Out of Memory β€” Cannot Allocate SGA

Meaning Oracle could not allocate the shared memory segment required for the SGA during instance startup.

Possible causes OS kernel SHMMAX or SHMALL parameter too low to accommodate the configured SGA_TARGET; not enough physical RAM; set kernel.shmmax and kernel.shmall in /etc/sysctl.conf to values larger than SGA size and run sysctl -p.

Write to Audit File Failed

Oracle could not write a mandatory audit record to the OS audit trail directory (AUDIT_FILE_DEST).

Oracle official reference
Read more

Write to Audit File Failed

Meaning Oracle could not write a mandatory audit record to the OS audit trail directory (AUDIT_FILE_DEST).

Possible causes AUDIT_FILE_DEST directory full; oracle user lacks write permissions; filesystem mounted read-only after storage issue; free space in the audit directory or redirect AUDIT_FILE_DEST to a larger filesystem.

ORA-00036

3 scenarios

Maximum Recursive SQL Levels Exceeded

Oracle has hit the hard limit of 255 recursive SQL call levels, preventing any further nesting of SQL or PL/SQL calls.

Oracle official reference
Read more

Maximum Recursive SQL Levels Exceeded

Meaning Oracle has hit the hard limit of 255 recursive SQL call levels, preventing any further nesting of SQL or PL/SQL calls.

Possible causes Mutually recursive PL/SQL procedures calling each other indefinitely; a trigger on a table firing another trigger on the same or related table in a circular chain; recursive view definitions without a proper termination condition.

Troubleshooting Trace the call chain with DBMS_UTILITY.FORMAT_CALL_STACK inside the top-level handler; redesign recursive PL/SQL with an explicit depth counter and EXIT WHEN depth > N; flatten circular trigger chains using conditional logic: IF INSERTING AND :NEW.source != 'TRIGGER' THEN ... END IF.

Recursive SQL β€” Trigger Chain Loop

Meaning An AFTER INSERT trigger on TABLE_A inserts into TABLE_B, which has an AFTER INSERT trigger that inserts back into TABLE_A, creating an infinite recursive call chain.

Possible causes Bidirectional trigger logic between two or more tables forming a closed loop; audit or replication triggers that themselves perform DML on monitored tables; missing guard conditions to detect trigger-initiated DML.

Troubleshooting Use a package-level boolean flag: IF NOT pkg_guard.in_trigger THEN pkg_guard.in_trigger := TRUE; ... pkg_guard.in_trigger := FALSE; END IF; alternatively redesign the data model to eliminate circular triggers.

Recursive SQL β€” Unbounded PL/SQL Recursion

Meaning A PL/SQL procedure calls itself recursively without a valid base case, consuming all 255 available recursive SQL levels.

Possible causes Tree-traversal or hierarchical data processing procedure missing the EXIT WHEN leaf-node condition; incorrect termination logic allowing infinite self-invocation; always add a maximum depth parameter: PROCEDURE traverse(p_id IN NUMBER, p_depth IN NUMBER DEFAULT 0) and EXIT WHEN p_depth > 50.

Troubleshooting Rewrite deep tree traversals using iterative loops with an explicit stack collection (DBMS_SQL or a PL/SQL TABLE) instead of recursive calls; verify base case logic covers all possible leaf values including NULL.

ORA-00050

2 scenarios

Operating system error while obtaining an enqueue

Oracle encountered an OS error while trying to acquire an enqueue.

Oracle official reference
Read more

Operating system error while obtaining an enqueue

Meaning Oracle encountered an OS error while trying to acquire an enqueue.

What to check Capture the underlying OS error and instance trace. Match any IPC resource in question to its instance and confirm its state with the responsible DBA.

IPC resources after an abnormal stop

Meaning Leftover IPC resources are one possible explanation when the OS error and instance history point to a prior crash.

What to check Inventory IPC resources per Oracle home, SID and running instance. Multiple active databases may share the same OS account. Escalate any proposed cleanup for the individually identified resource.

ORA-00051

2 scenarios

Timed out waiting for a resource

Oracle timed out waiting for a resource. An unavailable instance is one possible cause.

Oracle official reference
Read more

Timed out waiting for a resource

Meaning Oracle timed out waiting for a resource. An unavailable instance is one possible cause.

What to check Check the alert log, instance status and V$SESSION wait and blocking-session information at the incident time. Identify the resource before taking action.

Resource timeout in RAC

Meaning A timeout involving more than one instance needs evidence from each instance involved.

What to check Compare GV$SESSION wait samples, blocking instance and session, and cluster and database logs over the same interval. AWR analysis is optional and requires the applicable Oracle Diagnostics Pack licence.

Maximum Number of Enqueue Resources Exceeded

The ENQUEUE_RESOURCES initialization parameter limit has been reached and Oracle cannot allocate additional enqueue resources for locking.

Oracle official reference
Read more

Maximum Number of Enqueue Resources Exceeded

Meaning The ENQUEUE_RESOURCES initialization parameter limit has been reached and Oracle cannot allocate additional enqueue resources for locking.

Possible causes High-volume concurrent DML transactions locking many distinct rows and tables simultaneously; ENQUEUE_RESOURCES set too low for the workload; applications not committing frequently enough, holding locks for extended periods.

Troubleshooting Increase dynamically: ALTER SYSTEM SET ENQUEUE_RESOURCES = 10000; monitor current usage: SELECT * FROM V$RESOURCE_LIMIT WHERE RESOURCE_NAME = 'enqueue_resources'; also review DML_LOCKS parameter which indirectly controls enqueue usage.

ORA-00055

2 scenarios

Maximum Number of DML Locks Exceeded

Oracle has reached the DML_LOCKS parameter limit, preventing additional table-level DML locks from being acquired.

Oracle official reference
Read more

Maximum Number of DML Locks Exceeded

Meaning Oracle has reached the DML_LOCKS parameter limit, preventing additional table-level DML locks from being acquired.

Possible causes Large number of concurrent transactions each locking many different tables; DML_LOCKS set too low (default = 4 Γ— TRANSACTIONS); nightly batch jobs running thousands of concurrent DML statements across many tables simultaneously.

Troubleshooting Increase DML_LOCKS: ALTER SYSTEM SET DML_LOCKS = 10000 SCOPE=SPFILE; requires bounce. Monitor: SELECT RESOURCE_NAME, CURRENT_UTILIZATION, MAX_UTILIZATION FROM V$RESOURCE_LIMIT WHERE RESOURCE_NAME='dml_locks'; alternatively set DML_LOCKS=0 to disable table-level locks entirely if application design supports it.

DML Locks Exceeded β€” Parallel DML Slave Processes

Meaning A parallel DML operation spawned many slave processes each acquiring DML locks on the target table, collectively exhausting the DML_LOCKS pool.

Possible causes INSERT /*+ PARALLEL */ with high degree of parallelism; each parallel slave acquires its own table lock; DML_LOCKS parameter not sized for parallel execution workloads; reduce DOP or temporarily disable PDML: ALTER SESSION DISABLE PARALLEL DML.

Troubleshooting Calculate required DML_LOCKS: (number of concurrent transactions) Γ— (average tables per transaction) Γ— 1.5; for PDML-heavy environments add: (max DOP) Γ— (number of parallel DML statements); increase parameter and bounce, or reduce DOP to stay within limits.

ORA-00059

2 scenarios

DB_FILES Parameter Limit Exceeded

The total number of datafiles across all tablespaces has reached the DB_FILES initialization parameter limit, preventing new datafiles from being added.

Oracle official reference
Read more

DB_FILES Parameter Limit Exceeded

Meaning The total number of datafiles across all tablespaces has reached the DB_FILES initialization parameter limit, preventing new datafiles from being added.

Possible causes Database grown organically over years with many small tablespaces and datafiles; DB_FILES not reviewed during capacity planning; increasing MAX_DATAFILES in the controlfile is needed alongside DB_FILES.

Troubleshooting Increase DB_FILES: ALTER SYSTEM SET DB_FILES=2000 SCOPE=SPFILE; restart required. Also recreate controlfile with higher MAXDATAFILES: ALTER DATABASE BACKUP CONTROLFILE TO TRACE; modify and run the CREATE CONTROLFILE script with MAXDATAFILES 2000. Monitor: SELECT COUNT(*) FROM V$DATAFILE.

DB_FILES Limit β€” ASM Managed Files Proliferation

Meaning In an ASM environment with Oracle Managed Files (OMF), automatic file creation during partition operations created more datafiles than the DB_FILES limit allows.

Possible causes Interval partitioning with automatic partition addition creates new segments and OMF datafiles automatically; DB_FILES limit not adjusted to account for interval partition growth; review V$DATAFILE count after interval partition-heavy ETL runs.

Troubleshooting Pre-empt by sizing DB_FILES = 5 Γ— expected maximum datafile count; consolidate multiple small datafiles into larger ones using DBMS_SPACE for capacity planning; consider bigfile tablespaces to reduce datafile count while maintaining size.

DML Full-Table Lock Cannot Be Acquired β€” DML_LOCKS=0

A DDL operation requiring a full table lock (such as ALTER TABLE or TRUNCATE) cannot be executed because DML_LOCKS=0 disables all table-level locks.

Oracle official reference
Read more

DML Full-Table Lock Cannot Be Acquired β€” DML_LOCKS=0

Meaning A DDL operation requiring a full table lock (such as ALTER TABLE or TRUNCATE) cannot be executed because DML_LOCKS=0 disables all table-level locks.

Possible causes DMA_LOCKS deliberately set to 0 to improve throughput (disables TM enqueue for DML), but this prevents DDL statements that require an exclusive table lock from executing; tradeoff between DML performance and DDL capability.

Troubleshooting Temporarily enable table locks for the session if possible: LOCK TABLE table_name IN EXCLUSIVE MODE; for ALTER TABLE operations, set DML_LOCKS to a non-zero value in SPFILE and restart; alternatively schedule DDL during maintenance windows when DML_LOCKS can be briefly re-enabled.

Cannot Acquire Lock β€” Table Locks Disabled

A LOCK TABLE statement failed because the target table has table locking explicitly disabled via ALTER TABLE DISABLE TABLE LOCK.

Oracle official reference
Read more

Cannot Acquire Lock β€” Table Locks Disabled

Meaning A LOCK TABLE statement failed because the target table has table locking explicitly disabled via ALTER TABLE DISABLE TABLE LOCK.

Possible causes DBA or application previously disabled table locks (ALTER TABLE t DISABLE TABLE LOCK) to improve DML performance; this prevents all DDL and explicit LOCK TABLE commands on that object; commonly seen on high-throughput tables in OLTP systems.

Troubleshooting Re-enable table locking: ALTER TABLE table_name ENABLE TABLE LOCK; verify which tables have locking disabled: SELECT OWNER, TABLE_NAME FROM DBA_TABLES WHERE TABLE_LOCK = 'DISABLED'; enable locks only during the maintenance window when DDL is needed, then disable again after.

Instance started with default parameters

Startup proceeded with default values because no parameter file was specified for this instance.

Oracle official reference
Read more

Instance started with default parameters

Meaning Startup proceeded with default values because no parameter file was specified for this instance.

What to check Check how the instance was started and which settings took effect. Confirm the intended SPFILE or PFILE before bringing the instance into service.

No Data Found β€” OCI/JDBC Application Context

An OCI or JDBC application received the 100 status code (equivalent to ORA-01403 in PL/SQL) indicating the cursor fetch returned no rows.

Oracle official reference
Read more

No Data Found β€” OCI/JDBC Application Context

Meaning An OCI or JDBC application received the 100 status code (equivalent to ORA-01403 in PL/SQL) indicating the cursor fetch returned no rows.

Possible causes Application not handling empty result sets; SELECT statement in application code returns zero rows; OCI programs must check the return code after OCIStmtFetch; JDBC programs must check ResultSet.next() before accessing column values.

Troubleshooting In JDBC: wrap ResultSet access in if (rs.next()) { ... } else { handle empty }; in OCI: check the return value of OCIStmtFetch2 for OCI_NO_DATA; in Pro*C: WHENEVER NOT FOUND DO handle_empty; never assume a query will return rows without explicit verification.

Deadlock β€” All Public Servers Blocked Waiting for Resources

In a Shared Server (MTS) environment, all available shared server processes are blocked waiting for resources held by other shared servers, causing a system-wide deadlock.

Oracle official reference
Read more

Deadlock β€” All Public Servers Blocked Waiting for Resources

Meaning In a Shared Server (MTS) environment, all available shared server processes are blocked waiting for resources held by other shared servers, causing a system-wide deadlock.

Possible causes Circular dependency between shared server sessions; one session holds a lock and waits for a server process that is held by another locked session; SHARED_SERVERS value too low for the workload; requests piling up in dispatcher queues.

Troubleshooting Increase SHARED_SERVERS: ALTER SYSTEM SET SHARED_SERVERS=50; review DISPATCHERS and MAX_SHARED_SERVERS; identify blocking queries via V$SESSION and V$QUEUE; consider switching latency-sensitive or long-running transactions to dedicated server connections.

Manual archive request needs a log identifier

In NOARCHIVELOG mode, a manual archive request must identify the redo log to archive.

Oracle official reference
Read more

Manual archive request needs a log identifier

Meaning In NOARCHIVELOG mode, a manual archive request must identify the redo log to archive.

What to check Check the database log mode and the syntax of the specific archive request. Specify the appropriate log if manual archival was intended.

ORA-00313

2 scenarios

Oracle could not open an online redo group

Oracle failed to open members of the specified redo group and thread.

Oracle official reference
Read more

Oracle could not open an online redo group

Meaning Oracle failed to open members of the specified redo group and thread.

What to check Identify the affected member paths in V$LOGFILE and group status in V$LOG. Check the companion OS errors and which copies remain readable before choosing a repair.

All members of a redo group are inaccessible

Meaning Loss of access to every member may remove redo needed for crash or media recovery.

What to check Establish whether the storage can be recovered and whether this group is required. Preserve the remaining redo and confirm recoverability and the agreed recovery objective before intervening.

I/O Error Processing Online Redo Log Member

Oracle encountered an I/O error while writing to or reading from an online redo log member, potentially indicating storage subsystem failure.

Oracle official reference
Read more

I/O Error Processing Online Redo Log Member

Meaning Oracle encountered an I/O error while writing to or reading from an online redo log member, potentially indicating storage subsystem failure.

Possible causes Storage path failure (HBA, switch, SAN); filesystem full preventing redo log writes; NFS mount timeout for a redo log member on NFS storage; OS-level I/O error reported in dmesg or /var/log/messages.

Troubleshooting Check OS logs: dmesg | grep -i error; if the affected member's group has other healthy members, drop the bad member: ALTER DATABASE DROP LOGFILE MEMBER '/bad/path/redo.log'; add a replacement: ALTER DATABASE ADD LOGFILE MEMBER '/healthy/path/redo.log' TO GROUP n; investigate and fix the underlying storage issue immediately.

Write failed in an online redo log

The block number and block count identify the redo write that failed.

Oracle official reference
Read more

Write failed in an online redo log

Meaning The block number and block count identify the redo write that failed.

What to check Read the companion I/O error and alert log. Check member paths, redundancy and whether recovery needs the group with the storage and recovery teams.

Corrupt Redo Log Block Header

A redo log block header checksum failed, indicating the redo block is corrupt and Oracle cannot safely use this data for recovery.

Oracle official reference
Read more

Corrupt Redo Log Block Header

Meaning A redo log block header checksum failed, indicating the redo block is corrupt and Oracle cannot safely use this data for recovery.

Possible causes Partial block write during crash (torn write); storage hardware issue; memory corruption during redo buffer flush; file system inconsistency; if this is a non-current archived log copy an intact member; if current log, the instance must abort.

Troubleshooting If archived log: copy intact archived log member to replace corrupt copy; if online log with available alternate member: ALTER DATABASE CLEAR LOGFILE GROUP n (if not needed for recovery); run RMAN: RESTORE ARCHIVELOG FROM SCN n to recover from backup; if current log is corrupt, incomplete recovery may be necessary up to last good SCN.

ORA-00376

2 scenarios

File Cannot Be Read at This Time β€” Datafile Offline

Oracle cannot access a datafile because it has been taken offline (deliberately or due to I/O error) and is not available for read operations.

Oracle official reference
Read more

File Cannot Be Read at This Time β€” Datafile Offline

Meaning Oracle cannot access a datafile because it has been taken offline (deliberately or due to I/O error) and is not available for read operations.

Possible causes Datafile automatically taken offline by Oracle after repeated I/O errors (in ARCHIVELOG mode); DBA manually took it offline; tablespace containing the file is offline; storage path for the file is unavailable.

Troubleshooting Check status: SELECT FILE#, STATUS, NAME FROM V$DATAFILE WHERE STATUS != 'ONLINE'; if storage is restored: RMAN> RESTORE DATAFILE n; RECOVER DATAFILE n; ALTER DATABASE DATAFILE n ONLINE; if permanently unavailable and ARCHIVELOG mode enabled, restore from most recent backup.

File Cannot Be Read β€” Physical Standby Datafile Gap

Meaning On a physical standby database, MRP attempted to apply a redo change to a datafile that is not present or is in an incompatible state.

Possible causes New datafile added on primary but not yet received by standby; datafile added while redo gap exists on standby; standby missing the archived logs containing the file creation; check V$DATAFILE_HEADER on standby for files in UNNAMED state.

Troubleshooting On standby: SELECT HXFIL, HXNM FROM X$KCVFH WHERE HXNM LIKE '%UNNAMED%'; restore missing datafile: RMAN> RESTORE DATAFILE n FROM SERVICE primary_service; then resume MRP: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION.

Online Log Reused While Attempting to Archive It

The archiver process was too slow to archive an online redo log before Oracle needed to reuse it for the next log switch, causing an archiving failure.

Oracle official reference
Read more

Online Log Reused While Attempting to Archive It

Meaning The archiver process was too slow to archive an online redo log before Oracle needed to reuse it for the next log switch, causing an archiving failure.

Possible causes Archive destination I/O throughput too low for the rate of log switches; archive destination disk under heavy load; too few redo log groups causing rapid reuse; LGWR writing faster than ARCH can copy logs to archive destination.

Troubleshooting Add more redo log groups: ALTER DATABASE ADD LOGFILE GROUP n ('/path/redo.log') SIZE 500M; increase redo log size to slow down log switches; optimize archive destination I/O; add a second archive process: ALTER SYSTEM SET LOG_ARCHIVE_MAX_PROCESSES=4; monitor log switch rate in AWR.

Instance recovery stopped

Oracle encountered another error while performing instance recovery.

Oracle official reference
Read more

Instance recovery stopped

Meaning Oracle encountered another error while performing instance recovery.

What to check Read the accompanying errors and alert log at the time of recovery. Use the file and I/O evidence in that stack to determine the next step.

Read failed in a redo log

Oracle could not read the indicated redo blocks during the operation.

Oracle official reference
Read more

Read failed in a redo log

Meaning Oracle could not read the indicated redo blocks during the operation.

What to check Check the companion I/O error, thread and sequence. Look for a readable copy of the required redo and validate recovery coverage before choosing a recovery point.

Redo corruption near the reported block

Oracle found inconsistent redo near the block, SCN or timestamp in the message.

Oracle official reference
Read more

Redo corruption near the reported block

Meaning Oracle found inconsistent redo near the block, SCN or timestamp in the message.

What to check Locate the thread, sequence and available copies. Verify an alternate copy and its recovery range. If required redo is unavailable, establish the impact on recoverability before continuing.

Fetch Out of Sequence

A fetch was performed on a cursor that has already been closed, exhausted, or whose result set was invalidated by a COMMIT or ROLLBACK issued while the cursor was open.

Oracle official reference
Read more

Fetch Out of Sequence

Meaning A fetch was performed on a cursor that has already been closed, exhausted, or whose result set was invalidated by a COMMIT or ROLLBACK issued while the cursor was open.

Possible causes FOR UPDATE cursor invalidated after COMMIT within the loop; explicit cursor fetched after it was closed; ROLLBACK issued while a cursor was still open in PL/SQL; application JDBC code calling ResultSet.next() after ResultSet.close().

Troubleshooting In PL/SQL FOR UPDATE cursors: do not COMMIT inside the loop; collect rows into a collection first (BULK COLLECT), then commit after the loop; in JDBC: never close a ResultSet and then call next(); always reopen cursors after transactions that modify cursor result sets.

No Statement Parsed

An EXECUTE or FETCH was attempted on a cursor that has not yet had a statement parsed (prepared) into it.

Oracle official reference
Read more

No Statement Parsed

Meaning An EXECUTE or FETCH was attempted on a cursor that has not yet had a statement parsed (prepared) into it.

Possible causes OCI or Pro*C application calling OCIStmtExecute or FETCH without first calling OCIStmtPrepare; DBMS_SQL.EXECUTE called before DBMS_SQL.PARSE; dynamic SQL cursor in wrong state; application code flow skipping the parse step in error handling path.

Troubleshooting Always follow the correct cursor lifecycle: OPEN CURSOR β†’ PARSE β†’ BIND β†’ EXECUTE β†’ FETCH β†’ CLOSE; in DBMS_SQL: v_cursor := DBMS_SQL.OPEN_CURSOR; DBMS_SQL.PARSE(v_cursor, sql_text, DBMS_SQL.NATIVE); add state validation before execute calls; use DBMS_SQL.IS_OPEN to verify cursor state.

Variable Not in Select List

A DBMS_SQL.COLUMN_VALUE or DEFINE_COLUMN call referenced a column position that does not exist in the SELECT list of the parsed statement.

Oracle official reference
Read more

Variable Not in Select List

Meaning A DBMS_SQL.COLUMN_VALUE or DEFINE_COLUMN call referenced a column position that does not exist in the SELECT list of the parsed statement.

Possible causes Column position index exceeds the number of columns in SELECT; DEFINE_COLUMN called with position 5 but SELECT only has 4 columns; dynamic SQL statement changed (fewer columns) but the define loop was not updated to match.

Troubleshooting Always derive column count dynamically: DBMS_SQL.DESCRIBE_COLUMNS(v_cursor, v_col_count, v_col_desc_table); loop from 1 to v_col_count; never hardcode column positions in DBMS_SQL define calls; validate column count after parsing dynamic SQL before defining output variables.

ORA-15001

2 scenarios

ASM Diskgroup Does Not Exist or Is Not Mounted

An operation referencing an ASM diskgroup by name failed because the diskgroup does not exist in the ASM instance or has not been mounted.

Oracle official reference
Read more

ASM Diskgroup Does Not Exist or Is Not Mounted

Meaning An operation referencing an ASM diskgroup by name failed because the diskgroup does not exist in the ASM instance or has not been mounted.

Possible causes ASM diskgroup name typo in DB_CREATE_FILE_DEST; diskgroup was dropped or renamed; ASM instance restarted without auto-mounting the diskgroup; cluster rebalance operation moved disks leaving diskgroup in unmounted state.

Troubleshooting Connect to ASM instance: sqlplus / as sysasm; check diskgroups: SELECT NAME, STATE FROM V$ASM_DISKGROUP; mount the diskgroup: ALTER DISKGROUP dgname MOUNT; verify DB_CREATE_FILE_DEST matches exact diskgroup name: SELECT VALUE FROM V$PARAMETER WHERE NAME='db_create_file_dest'.

ASM Diskgroup Not Mounted β€” Database Startup Dependency

Meaning The database instance cannot mount because its ASM diskgroup (containing the datafiles) is not mounted in the ASM instance.

Possible causes ASM instance started but diskgroup not mounted due to CSS vote disk failure; one or more ASM disks failed causing the diskgroup to go offline; CRS dependency order issue β€” database started before ASM diskgroup was fully mounted; normal disk redundancy broken.

Troubleshooting On the ASM instance: ALTER DISKGROUP dgname MOUNT RESTRICTED; check disk status: SELECT NAME, PATH, STATE, MODE_STATUS FROM V$ASM_DISK; if disk missing: add replacement disk and rebalance: ALTER DISKGROUP dgname ADD DISK '/dev/sdX' REBALANCE POWER 11; monitor: SELECT * FROM V$ASM_OPERATION.

Disk group mounted in another lock namespace

Another ASM instance already has the disk group mounted under an incompatible lock namespace.

Oracle official reference
Read more

Disk group mounted in another lock namespace

Meaning Another ASM instance already has the disk group mounted under an incompatible lock namespace.

What to check Check disk-group ownership and the cluster or lock namespace of the mounting instances before retrying.

ASM template name is already in use

The disk group already contains a template with the proposed name.

Oracle official reference
Read more

ASM template name is already in use

Meaning The disk group already contains a template with the proposed name.

What to check Inspect V$ASM_TEMPLATE in the correct disk group. Use the existing template or choose an unused name.

ASM failure group does not exist

The requested failure-group name cannot be found in the named disk group.

Oracle official reference
Read more

ASM failure group does not exist

Meaning The requested failure-group name cannot be found in the named disk group.

What to check Compare the supplied disk-group and failure-group names with GROUP_NUMBER and FAILGROUP in V$ASM_DISK.

ASM disk group failed to mount

The mount operation failed. Other messages in the stack identify the underlying condition.

Oracle official reference
Read more

ASM disk group failed to mount

Meaning The mount operation failed. Other messages in the stack identify the underlying condition.

What to check Inspect the ASM alert log and disk discovery results across the relevant nodes before changing compatibility or storage.

ASM could not open a disk

ASM could not open the disk path shown in the error.

Oracle official reference
Read more

ASM could not open a disk

Meaning ASM could not open the disk path shown in the error.

What to check Check the accompanying OS error, device identity, ownership, permissions and consistent visibility on the relevant cluster nodes.

ASM Diskgroup Name Already Used

A CREATE DISKGROUP statement failed because an ASM diskgroup with the specified name already exists in the ASM instance.

Oracle official reference
Read more

ASM Diskgroup Name Already Used

Meaning A CREATE DISKGROUP statement failed because an ASM diskgroup with the specified name already exists in the ASM instance.

Possible causes Attempting to create a diskgroup that already exists; idempotent script not checking existence first; diskgroup name collision in RAC environment where another node already created the group; disk header still contains the old diskgroup name after incomplete drop.

Troubleshooting Check existing diskgroups: SELECT NAME, STATE FROM V$ASM_DISKGROUP; if diskgroup exists but is in DISMOUNTED state, mount it instead: ALTER DISKGROUP dgname MOUNT; if the old diskgroup must be replaced: ALTER DISKGROUP old_name DROP DISKS IN FAILGROUP name; then CREATE DISKGROUP with new disks; validate disk headers are clean before reuse.

ASM Diskgroup Incomplete β€” Missing Disks

The ASM diskgroup cannot be fully mounted because one or more member disks are unavailable, leaving the diskgroup in an INCOMPLETE state.

Oracle official reference
Read more

ASM Diskgroup Incomplete β€” Missing Disks

Meaning The ASM diskgroup cannot be fully mounted because one or more member disks are unavailable, leaving the diskgroup in an INCOMPLETE state.

Possible causes Disk failure causing NORMAL or HIGH redundancy diskgroup to lose a failure group; too many simultaneous disk failures exceeding redundancy tolerance; LUN path failure in multi-path configuration; INCOMPLETE state means data may be at risk.

Troubleshooting Check which disks are offline: SELECT PATH, FAILGROUP, MODE_STATUS, STATE FROM V$ASM_DISK WHERE GROUP_NUMBER=n; if disk is temporarily unavailable: fix the storage path and re-present the LUN; if disk is permanently failed: ALTER DISKGROUP dgname ADD DISK '/new/disk'; ASM will rebalance and restore redundancy; monitor: SELECT * FROM V$ASM_OPERATION.

ASM Diskgroup Space Exhausted

The ASM diskgroup has no remaining free space to fulfill a file allocation request, causing the operation to fail immediately.

Oracle official reference
Read more

ASM Diskgroup Space Exhausted

Meaning The ASM diskgroup has no remaining free space to fulfill a file allocation request, causing the operation to fail immediately.

Possible causes Diskgroup completely full; RMAN backup filling ASM diskgroup; large datafile growth consuming remaining space; redundancy overhead consuming more space than anticipated; no AUTOEXTEND monitoring in place.

Troubleshooting Immediate relief: delete obsolete RMAN backups: RMAN> DELETE OBSOLETE; long-term: add disks to the diskgroup: ALTER DISKGROUP dgname ADD DISK '/dev/sdX'; enable Oracle Cloud Control threshold alerts at 75%/85%/95% diskgroup utilization; review file sizes: SELECT SUM(BYTES)/1024/1024/1024 GB FROM V$ASM_FILE WHERE GROUP_NUMBER=n.

Invalid storage option for an opaque type

The DDL specifies a storage option that Oracle does not accept for the opaque type.

Oracle official reference
Read more

Invalid storage option for an opaque type

Meaning The DDL specifies a storage option that Oracle does not accept for the opaque type.

What to check Identify the type and the option reported by Oracle. Check the supported storage clauses for that type before retrying.

XMLType storage option conflicts with storage type

The selected XMLType storage model does not support an option in the definition.

Oracle official reference
Read more

XMLType storage option conflicts with storage type

Meaning The selected XMLType storage model does not support an option in the definition.

What to check Inspect the XMLType definition and remove or replace the incompatible option.

Datafile Header Validation Failed During RMAN Restore

RMAN restored a datafile but the header content does not match what the controlfile expects, indicating the wrong backup piece was used or the file was overwritten.

Oracle official reference
Read more

Datafile Header Validation Failed During RMAN Restore

Meaning RMAN restored a datafile but the header content does not match what the controlfile expects, indicating the wrong backup piece was used or the file was overwritten.

Possible causes Wrong backup set selected for restore (e.g., backup from different database clone used accidentally); datafile restored to wrong location and another database's file already exists there; backup catalog out of sync with actual backup content.

Troubleshooting Verify backup piece content: RMAN> LIST BACKUP OF DATAFILE n; validate the backup: RMAN> VALIDATE BACKUPSET n; restore with explicit backup set designation: RMAN> RESTORE DATAFILE n FROM BACKUPSET '/path/to/specific.bkp'; always verify database DBID matches: SELECT DBID FROM V$DATABASE before restoring.

Exceeded Limit of Corrupt Blocks in RMAN Backup

RMAN encountered more corrupt blocks than the configured MAXCORRUPT threshold during a backup or validation operation, causing the job to fail.

Oracle official reference
Read more

Exceeded Limit of Corrupt Blocks in RMAN Backup

Meaning RMAN encountered more corrupt blocks than the configured MAXCORRUPT threshold during a backup or validation operation, causing the job to fail.

Possible causes Physical corruption in datafile exceeding the tolerance level; RMAN CONFIGURE MAXSETSIZE or SET MAXCORRUPT limiting acceptable corruption; storage hardware degradation spreading block corruption across many blocks.

Troubleshooting First identify corrupt blocks: RMAN> VALIDATE DATABASE; SELECT * FROM V$DATABASE_BLOCK_CORRUPTION; attempt block-level recovery: RMAN> RECOVER CORRUPTION LIST; if MAXCORRUPT threshold needs temporary raising: SET MAXCORRUPT FOR DATAFILE n TO 50; engage storage team to replace failing hardware; investigate with DBVERIFY: dbv file=datafile.dbf blocksize=8192 logfile=dbv_output.log.

Required datafile enqueue is unavailable

Another operation prevents Oracle from acquiring the type of file enqueue requested.

Oracle official reference
Read more

Required datafile enqueue is unavailable

Meaning Another operation prevents Oracle from acquiring the type of file enqueue requested.

What to check Read the enqueue type in the message and identify concurrent backup, restore or file operations before retrying.

Output filename is required

The backup or copy operation needs an output filename and none was supplied.

Oracle official reference
Read more

Output filename is required

Meaning The backup or copy operation needs an output filename and none was supplied.

What to check Identify the output operand in the failing operation and provide a valid destination filename.

PL/SQL Program Error β€” Internal Condition

An internal PL/SQL runtime error occurred that does not map to a specific PL/SQL exception; Oracle's PL/SQL engine encountered an unexpected condition.

Oracle official reference
Read more

PL/SQL Program Error β€” Internal Condition

Meaning An internal PL/SQL runtime error occurred that does not map to a specific PL/SQL exception; Oracle's PL/SQL engine encountered an unexpected condition.

Possible causes PL/SQL program raising an exception that has no associated EXCEPTION_INIT pragma mapping; generic PROGRAM ERROR from a deep internal PL/SQL runtime condition; check alert log for associated ORA-600 or trace files; often accompanies other Oracle internal errors.

Troubleshooting Add comprehensive EXCEPTION WHEN OTHERS THEN RAISE_APPLICATION_ERROR(-20001, DBMS_UTILITY.FORMAT_ERROR_BACKTRACE); to expose the full stack; check alert log and trace files in $ORACLE_BASE/diag for associated internal errors; if recurring, open an Oracle Support SR with the full trace output.

PL/SQL Function Returned Without Value

A PL/SQL function reached the end of its body or an exception handler without executing a RETURN statement, violating the requirement that functions must return a value.

Oracle official reference
Read more

PL/SQL Function Returned Without Value

Meaning A PL/SQL function reached the end of its body or an exception handler without executing a RETURN statement, violating the requirement that functions must return a value.

Possible causes IF/THEN/ELSIF chain does not cover all possible conditions and one branch exits without a RETURN; exception handler in the function does not include a RETURN; function has a RETURN in the normal path but not in the EXCEPTION WHEN OTHERS path.

Troubleshooting Add a RETURN NULL; or RETURN default_value; as the final statement of the function body after all IF/CASE branches; add RETURN to all EXCEPTION handlers: EXCEPTION WHEN OTHERS THEN RETURN NULL; use compile-time checking; set PLSQL_WARNINGS='ENABLE:ALL' to catch missing RETURN paths at compile time.

PL/SQL Return Types of Result Set Variables Do Not Match

A strongly-typed REF CURSOR variable was assigned an open cursor whose column types or count do not match the cursor's declared return type.

Oracle official reference
Read more

PL/SQL Return Types of Result Set Variables Do Not Match

Meaning A strongly-typed REF CURSOR variable was assigned an open cursor whose column types or count do not match the cursor's declared return type.

Possible causes Stored procedure returning a strongly-typed SYS_REFCURSOR with a specific rowtype, but the calling program expects different columns; query in the cursor body was modified but the cursor type declaration was not updated; type mismatch between %ROWTYPE definition and actual query columns.

Troubleshooting Use weakly-typed SYS_REFCURSOR for maximum flexibility when column types may vary; for strongly-typed cursors: ensure the RETURN type's %ROWTYPE exactly matches the SELECT column list; test cursor type compatibility: OPEN v_cursor FOR SELECT * FROM target_table; verify after any table structure changes.

PL/SQL Could Not Find Program Unit Being Called

Oracle cannot locate the PL/SQL procedure, function, or package that is being called, even though it was valid at parse time.

Oracle official reference
Read more

PL/SQL Could Not Find Program Unit Being Called

Meaning Oracle cannot locate the PL/SQL procedure, function, or package that is being called, even though it was valid at parse time.

Possible causes Package or procedure was dropped between the time the calling code was parsed and when it was executed; package specification was replaced, invalidating cached execution plans; object dropped and recreated in a different schema making the synonym stale.

Troubleshooting Verify the called object exists: SELECT OBJECT_NAME, OBJECT_TYPE, STATUS FROM DBA_OBJECTS WHERE OBJECT_NAME='PKG_NAME'; if synonym pointing to wrong schema: DROP SYNONYM s; CREATE SYNONYM s FOR correct_schema.pkg_name; recompile any invalidated dependents: EXEC DBMS_UTILITY.COMPILE_SCHEMA(schema => 'MYSCHEMA').

PL/SQL Unhandled User-Defined Exception

A user-defined PL/SQL exception was raised with RAISE but was not caught by any EXCEPTION WHEN handler in the call stack, propagating to the top level.

Oracle official reference
Read more

PL/SQL Unhandled User-Defined Exception

Meaning A user-defined PL/SQL exception was raised with RAISE but was not caught by any EXCEPTION WHEN handler in the call stack, propagating to the top level.

Possible causes Exception defined in one package raised in another without the caller having the correct exception reference; exception raised in a nested block propagating beyond the scope of any handler; missing WHEN OTHERS clause in the outermost exception handler.

Troubleshooting Always define shared application exceptions in a dedicated package: PACKAGE app_exceptions AS e_validation EXCEPTION; PRAGMA EXCEPTION_INIT(e_validation, -20100); END; reference consistently: RAISE app_exceptions.e_validation; add WHEN app_exceptions.e_validation THEN log_and_handle; in outermost block always include WHEN OTHERS THEN handle_gracefully.

PL/SQL Cursor Already Open

An attempt was made to OPEN a cursor that is already in an OPEN state, which is not permitted in PL/SQL.

Oracle official reference
Read more

PL/SQL Cursor Already Open

Meaning An attempt was made to OPEN a cursor that is already in an OPEN state, which is not permitted in PL/SQL.

Possible causes Code path opens the same cursor twice without closing it in between; exception handler re-opens a cursor that was already opened before the exception occurred; loop re-opens an explicit cursor without a corresponding CLOSE at the end of each iteration.

Troubleshooting Always check cursor state before opening: IF NOT v_cursor%ISOPEN THEN OPEN v_cursor; END IF; ensure every OPEN has a matching CLOSE; in exception handlers: IF v_cursor%ISOPEN THEN CLOSE v_cursor; END IF; prefer implicit cursors (FOR loop) over explicit cursors to avoid manual state management.

Active Autonomous Transaction Detected and Rolled Back

A procedure or function declared with PRAGMA AUTONOMOUS_TRANSACTION exited without committing or rolling back its autonomous transaction, causing Oracle to automatically roll it back.

Oracle official reference
Read more

Active Autonomous Transaction Detected and Rolled Back

Meaning A procedure or function declared with PRAGMA AUTONOMOUS_TRANSACTION exited without committing or rolling back its autonomous transaction, causing Oracle to automatically roll it back.

Possible causes Autonomous procedure performs DML but does not include a COMMIT or ROLLBACK before returning; exception in the autonomous procedure prevents reaching the COMMIT statement; design error where the autonomous transaction scope is misunderstood.

Troubleshooting Ensure every code path in an autonomous procedure ends with COMMIT or ROLLBACK: BEGIN autonomous_dml; COMMIT; EXCEPTION WHEN OTHERS THEN ROLLBACK; RAISE; END; common use cases: audit logging (always COMMIT), error logging (always COMMIT regardless of main transaction state); never use PRAGMA AUTONOMOUS_TRANSACTION for performance β€” only use it when true transactional independence is needed.

Scheduler Job Is Not Running

DBMS_SCHEDULER.STOP_JOB was called on a job that is not currently in a running state, making the stop operation invalid.

Oracle official reference
Read more

Scheduler Job Is Not Running

Meaning DBMS_SCHEDULER.STOP_JOB was called on a job that is not currently in a running state, making the stop operation invalid.

Possible causes Job already completed, failed, or was stopped before the STOP_JOB call was made; wrong job name specified; monitoring script calling STOP_JOB without first verifying job status with DBA_SCHEDULER_RUNNING_JOBS.

Troubleshooting Check job state before stopping: SELECT JOB_NAME, STATE FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME='MY_JOB'; verify running jobs: SELECT JOB_NAME, RUNNING_INSTANCE FROM DBA_SCHEDULER_RUNNING_JOBS; wrap in conditional: IF EXISTS (SELECT 1 FROM DBA_SCHEDULER_RUNNING_JOBS WHERE JOB_NAME='MY_JOB') THEN DBMS_SCHEDULER.STOP_JOB('MY_JOB'); END IF.

Scheduler EXECUTABLE Job Failed

A DBMS_SCHEDULER job of type EXECUTABLE (running an OS-level script or binary) failed to execute or returned a non-zero exit code.

Oracle official reference
Read more

Scheduler EXECUTABLE Job Failed

Meaning A DBMS_SCHEDULER job of type EXECUTABLE (running an OS-level script or binary) failed to execute or returned a non-zero exit code.

Possible causes Shell script not found at specified path; oracle OS user lacks execute permission on the script; script returned non-zero exit code indicating failure; OS resource limits prevent execution; path not accessible from Oracle's process environment.

Troubleshooting Check job error details: SELECT LOG_DATE, STATUS, ADDITIONAL_INFO FROM DBA_SCHEDULER_JOB_RUN_DETAILS WHERE JOB_NAME='MY_JOB' ORDER BY LOG_DATE DESC; verify script path: SELECT PROGRAM_ACTION FROM DBA_SCHEDULER_PROGRAMS WHERE PROGRAM_NAME='MY_PROG'; ensure execute permission: chmod +x /path/to/script.sh; test manually as oracle user: su - oracle -c '/path/to/script.sh'.

Scheduler Job Does Not Exist

A DBMS_SCHEDULER operation (ENABLE, DISABLE, DROP, RUN, STOP) referenced a job name that does not exist in the database.

Oracle official reference
Read more

Scheduler Job Does Not Exist

Meaning A DBMS_SCHEDULER operation (ENABLE, DISABLE, DROP, RUN, STOP) referenced a job name that does not exist in the database.

Possible causes Typo in job name (scheduler names are case-sensitive by default); wrong schema context β€” job exists in SCHEMA_A but code connected as SCHEMA_B; job was dropped previously; job name requires schema prefix: 'SCHEMA.JOB_NAME'.

Troubleshooting Verify job existence: SELECT OWNER, JOB_NAME, STATE FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME=UPPER('my_job'); scheduler objects are stored in UPPERCASE by default: DBMS_SCHEDULER.RUN_JOB('SCHEMA_NAME.MY_JOB'); for cross-schema operations: DBMS_SCHEDULER.RUN_JOB(job_name => 'HR.PAYROLL_JOB', use_current_session => FALSE).

Scheduler Job Already Exists

DBMS_SCHEDULER.CREATE_JOB failed because a job with the same name already exists in the current schema.

Oracle official reference
Read more

Scheduler Job Already Exists

Meaning DBMS_SCHEDULER.CREATE_JOB failed because a job with the same name already exists in the current schema.

Possible causes Deployment script running CREATE_JOB without first dropping the existing job; idempotent deployment not handling job existence gracefully; job from a previous failed deployment left in BROKEN state but still registered.

Troubleshooting Use defensive creation: BEGIN DBMS_SCHEDULER.DROP_JOB('MY_JOB', force => TRUE); EXCEPTION WHEN OTHERS THEN NULL; END; DBMS_SCHEDULER.CREATE_JOB(...); or check existence first: SELECT COUNT(*) INTO v_count FROM DBA_SCHEDULER_JOBS WHERE JOB_NAME='MY_JOB'; IF v_count > 0 THEN DBMS_SCHEDULER.DROP_JOB('MY_JOB'); END IF; DBMS_SCHEDULER.CREATE_JOB(...).

Scheduler end date is invalid

The named Scheduler object has an end date that is invalid for its schedule.

Oracle official reference
Read more

Scheduler end date is invalid

Meaning The named Scheduler object has an end date that is invalid for its schedule.

What to check Inspect its start date, end date and time zones. Correct the end date for the intended scheduling window.

Scheduler window is disabled

The operation requires a Scheduler window that is currently disabled.

Oracle official reference
Read more

Scheduler window is disabled

Meaning The operation requires a Scheduler window that is currently disabled.

What to check Check the named window in DBA_SCHEDULER_WINDOWS and confirm its intended state before changing the schedule.

Attribute unavailable for an in-memory job

Oracle Scheduler does not allow this attribute on the specified in-memory job.

Oracle official reference
Read more

Attribute unavailable for an in-memory job

Meaning Oracle Scheduler does not allow this attribute on the specified in-memory job.

What to check Check the job style and attribute name. Choose a supported attribute or a suitable job style.

ORA-28003

2 scenarios

Password Verification Failed β€” Complexity Requirements

The new password supplied does not meet the complexity requirements enforced by the profile's PASSWORD_VERIFY_FUNCTION.

Oracle official reference
Read more

Password Verification Failed β€” Complexity Requirements

Meaning The new password supplied does not meet the complexity requirements enforced by the profile's PASSWORD_VERIFY_FUNCTION.

Possible causes Password too short; missing uppercase, number, or special character; password contains the username; Oracle's default ORA12C_STRONG_VERIFY_FUNCTION or custom verify function rejecting the password; verify function criteria documented in sys.verify_function_11g or custom implementation.

Troubleshooting Check profile's verification function: SELECT PROFILE, LIMIT FROM DBA_PROFILES WHERE RESOURCE_NAME='PASSWORD_VERIFY_FUNCTION' AND PROFILE='DEFAULT'; inspect the function logic to understand requirements; temporarily disable for service accounts: ALTER PROFILE app_profile LIMIT PASSWORD_VERIFY_FUNCTION NULL; then set a compliant password and re-enable the verification function.

Password Verification Failed β€” Custom Business Rule

Meaning A custom PASSWORD_VERIFY_FUNCTION enforcing corporate password policy rejected the proposed password, returning a specific business rule error message.

Possible causes Organization-specific password policy (e.g., no sequential characters, no dictionary words, minimum 3 character types) implemented in a custom verify function; password reuse history check embedded in custom function; blacklisted passwords list in the verification function.

Troubleshooting Read the custom verify function: SELECT TEXT FROM DBA_SOURCE WHERE NAME=upper('custom_verify_fn') ORDER BY LINE; ensure the new password meets all criteria; work with security team to understand policy; for application service accounts use DBMS_RANDOM.STRING to generate compliant passwords; document password requirements in onboarding runbooks.

Password Cannot Be Reused

The proposed new password was used previously by this account within the timeframe or count defined by PASSWORD_REUSE_TIME or PASSWORD_REUSE_MAX in the user's profile.

Oracle official reference
Read more

Password Cannot Be Reused

Meaning The proposed new password was used previously by this account within the timeframe or count defined by PASSWORD_REUSE_TIME or PASSWORD_REUSE_MAX in the user's profile.

Possible causes PASSWORD_REUSE_MAX=10 preventing reuse of the last 10 passwords; PASSWORD_REUSE_TIME=365 preventing reuse within 365 days; application service accounts attempting to cycle back to well-known passwords; automated rotation scripts cycling through a small password set.

Troubleshooting User must choose a genuinely new password not in their history; check profile limits: SELECT LIMIT FROM DBA_PROFILES WHERE RESOURCE_NAME IN ('PASSWORD_REUSE_TIME','PASSWORD_REUSE_MAX') AND PROFILE='DEFAULT'; for service account rotation: use a password vault (CyberArk, HashiCorp Vault) that tracks and generates truly unique passwords each rotation cycle.

Connection as SYS Must Be as SYSDBA or SYSOPER

An attempt to connect as SYS without specifying the AS SYSDBA or AS SYSOPER clause was rejected; SYS cannot connect with normal user authentication.

Oracle official reference
Read more

Connection as SYS Must Be as SYSDBA or SYSOPER

Meaning An attempt to connect as SYS without specifying the AS SYSDBA or AS SYSOPER clause was rejected; SYS cannot connect with normal user authentication.

Possible causes Application connection string using username=SYS without the SYSDBA or SYSOPER privilege qualifier; JDBC URL with user=SYS but missing the privilege role designation; monitoring tool configured with SYS credentials but without proper connection mode.

Troubleshooting Correct connection syntax: CONNECT SYS/password AS SYSDBA; in JDBC: Properties props = new Properties(); props.setProperty("user","sys"); props.setProperty("password","pwd"); props.setProperty("internal_logon","sysdba"); best practice: never use SYS for application connections; create a dedicated monitoring/application user with only required privileges.

Cannot Expire External or Global Account

ALTER USER EXPIRE ACCOUNT or ALTER USER PASSWORD EXPIRE was attempted on an externally-authenticated (OS auth) or globally-authenticated (LDAP/Kerberos) account, which is not supported.

Oracle official reference
Read more

Cannot Expire External or Global Account

Meaning ALTER USER EXPIRE ACCOUNT or ALTER USER PASSWORD EXPIRE was attempted on an externally-authenticated (OS auth) or globally-authenticated (LDAP/Kerberos) account, which is not supported.

Possible causes User created with IDENTIFIED EXTERNALLY or IDENTIFIED GLOBALLY; password management operations on these accounts are controlled by the external authentication mechanism (OS, LDAP, Active Directory), not Oracle; scripted password rotation tool targeting all users including external ones.

Troubleshooting Filter out external/global accounts in maintenance scripts: SELECT USERNAME FROM DBA_USERS WHERE AUTHENTICATION_TYPE NOT IN ('EXTERNAL','GLOBAL','NONE') before applying password operations; manage external account lifecycle through the external system (AD, LDAP); use AUTHENTICATION_TYPE column in DBA_USERS to identify account type.

Password expired during an unlimited grace period

The account's password has expired. With an unlimited grace period, login can still succeed with this warning until the password is changed.

Oracle official reference
Read more

Password expired during an unlimited grace period

Meaning The account's password has expired. With an unlimited grace period, login can still succeed with this warning until the password is changed.

What to check Change the password through the supported account workflow and update clients using the account. ORA-28002 is an advance expiry warning.

Session enabled too many roles

The session exceeds the number of roles it can enable, including roles enabled through other roles.

Oracle official reference
Read more

Session enabled too many roles

Meaning The session exceeds the number of roles it can enable, including roles enabled through other roles.

What to check Review SESSION_ROLES for the session and inspect role nesting and defaults before reducing the enabled set.

Input Value for Policy Function Not Valid β€” VPD Error

A Virtual Private Database (VPD) policy function returned an invalid predicate string that Oracle cannot apply to the SQL WHERE clause.

Oracle official reference
Read more

Input Value for Policy Function Not Valid β€” VPD Error

Meaning A Virtual Private Database (VPD) policy function returned an invalid predicate string that Oracle cannot apply to the SQL WHERE clause.

Possible causes VPD policy function returning a malformed SQL predicate (syntax error); function returning NULL in a context that requires a non-null predicate; predicate referencing columns that don't exist in the protected table; complex predicate exceeding size limits.

Troubleshooting Debug the policy function: SELECT DBMS_RLS.get_policy_predicate('SCHEMA','TABLE','FUNCTION') FROM DUAL; test the predicate standalone in SQL; ensure function returns valid SQL WHERE clause text or empty string '': IF condition THEN RETURN '1=0'; ELSE RETURN 'dept_id = ' || SYS_CONTEXT('USERENV','CLIENT_IDENTIFIER'); END IF; validate predicate syntax before returning.

Invalid Partition Name

The partition name specified in a CREATE TABLE PARTITION clause or ALTER TABLE operation contains invalid characters or violates Oracle naming conventions.

Oracle official reference
Read more

Invalid Partition Name

Meaning The partition name specified in a CREATE TABLE PARTITION clause or ALTER TABLE operation contains invalid characters or violates Oracle naming conventions.

Possible causes Partition name starting with a number; special characters (hyphen, space, slash) used without double-quoting; partition name exceeding 128 characters; using an Oracle reserved word as an unquoted partition name.

Troubleshooting Use valid Oracle identifiers: start with a letter, use only letters/numbers/underscores; prefix date-based partition names: P_2024_01, P_JAN_2024; for special characters use double quotes (not recommended for maintenance): PARTITION "2024-01"; prefer descriptive names like: PARTITION p_sales_2024q1 VALUES LESS THAN (DATE '2024-04-01').

Invalid partition bound element

A partition bound contains an expression or value in a form Oracle does not accept.

Oracle official reference
Read more

Invalid partition bound element

Meaning A partition bound contains an expression or value in a form Oracle does not accept.

What to check Review the failing bound against the partition key types. Use a supported literal or MAXVALUE where that partitioning syntax permits it.

Partition Bound Value Too Large for Column

A partition boundary value specified in VALUES LESS THAN or VALUES IN is too large to fit in the datatype of the partition key column.

Oracle official reference
Read more

Partition Bound Value Too Large for Column

Meaning A partition boundary value specified in VALUES LESS THAN or VALUES IN is too large to fit in the datatype of the partition key column.

Possible causes Partition key is NUMBER(6) but boundary value exceeds 999999; VARCHAR2(10) partition key with a boundary value longer than 10 characters; number literal in partition bound exceeding the precision of the partitioning column definition.

Troubleshooting Verify column datatype: SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH, DATA_PRECISION FROM DBA_TAB_COLUMNS WHERE TABLE_NAME='MY_TABLE' AND COLUMN_NAME='PARTITION_KEY'; ensure boundary values fit within column constraints; if column is too small: ALTER TABLE ... MODIFY column_name NUMBER(10) before adding the partition.

Datatype or Length of Partitioning Column Cannot Be Changed

An ALTER TABLE MODIFY on a column that is used as a partition key was rejected because changing its datatype or length would invalidate the existing partition definitions.

Oracle official reference
Read more

Datatype or Length of Partitioning Column Cannot Be Changed

Meaning An ALTER TABLE MODIFY on a column that is used as a partition key was rejected because changing its datatype or length would invalidate the existing partition definitions.

Possible causes Attempting to change VARCHAR2(50) to VARCHAR2(100) on a partition key column; trying to change NUMBER to VARCHAR2 on the partitioning column; partition boundary values are stored against the column type and cannot be revalidated after type change.

Troubleshooting Workaround requires table recreation: Create new table with desired column definition and correct partitioning; use INSERT INTO new_table SELECT * FROM old_table; rename tables; alternatively use CREATE TABLE AS SELECT with the new schema; this is a significant operation β€” plan for downtime or online redefinition using DBMS_REDEFINITION.

All Rows in Table Do Not Qualify for Specified Partition

An ALTER TABLE EXCHANGE PARTITION command failed because the non-partitioned table being swapped in contains rows whose partition key values do not fall within the target partition's boundary.

Oracle official reference
Read more

All Rows in Table Do Not Qualify for Specified Partition

Meaning An ALTER TABLE EXCHANGE PARTITION command failed because the non-partitioned table being swapped in contains rows whose partition key values do not fall within the target partition's boundary.

Possible causes Staging table for partition exchange contains data from multiple partition ranges mixed together; data in the staging table includes values that belong to adjacent partitions; loading process did not filter data to exactly match the target partition's boundary.

Troubleshooting Validate before exchange: SELECT COUNT(*) FROM staging_table WHERE partition_key NOT BETWEEN lower_bound AND upper_bound; pre-filter: DELETE FROM staging_table WHERE partition_key < lower_bound OR partition_key >= upper_bound; use WITHOUT VALIDATION only if you are 100% certain data is valid and want to skip the check for performance: ALTER TABLE pt EXCHANGE PARTITION p1 WITH TABLE staging INCLUDING INDEXES WITHOUT VALIDATION.

Data Guard Broker Is Not Yet Available

A DGMGRL or Broker API call failed because the Data Guard Monitor process (DMON) has not yet fully initialized or started.

Oracle official reference
Read more

Data Guard Broker Is Not Yet Available

Meaning A DGMGRL or Broker API call failed because the Data Guard Monitor process (DMON) has not yet fully initialized or started.

Possible causes DG_BROKER_START=TRUE but DMON process still initializing after database startup; DMON crashed and is restarting; connect to DGMGRL too quickly after database open; broker configuration file locked or corrupt preventing DMON startup.

Troubleshooting Wait 60-90 seconds after database startup before connecting to DGMGRL; check DMON status: ps -ef | grep dmon; verify in alert log: grep -i dmon $ORACLE_BASE/diag/.../alert_*.log; restart DMON: ALTER SYSTEM SET DG_BROKER_START=FALSE; ALTER SYSTEM SET DG_BROKER_START=TRUE; check broker config file permissions: ls -la $ORACLE_BASE/dbs/dr*.dat.

Observer version is incompatible

The Data Guard observer version does not match the broker's requirements.

Oracle official reference
Read more

Observer version is incompatible

Meaning The Data Guard observer version does not match the broker's requirements.

What to check Check the Oracle home used to start the observer and compare it with the release supported by the broker configuration.

Invalid administrative username

The PDB operation requires a valid administrative username.

Oracle official reference
Read more

Invalid administrative username

Meaning The PDB operation requires a valid administrative username.

What to check Check the ADMIN USER clause and the username rules for the specific PDB creation statement.

Missing or invalid database link name

The pluggable database operation expects a valid database link name.

Oracle official reference
Read more

Missing or invalid database link name

Meaning The pluggable database operation expects a valid database link name.

What to check Check the database link in the statement and that it is available in the container executing the operation.

Duplicate ENABLE PLUGGABLE DATABASE clause

The CREATE DATABASE statement includes the multitenant enablement clause more than once.

Oracle official reference
Read more

Duplicate ENABLE PLUGGABLE DATABASE clause

Meaning The CREATE DATABASE statement includes the multitenant enablement clause more than once.

What to check Inspect the generated DDL and retain a single ENABLE PLUGGABLE DATABASE clause.

PDB cannot open read/write

Oracle could not open the requested pluggable database in read/write mode.

Oracle official reference
Read more

PDB cannot open read/write

Meaning Oracle could not open the requested pluggable database in read/write mode.

What to check Read the accompanying error, check the CDB role and open mode, and inspect the PDB's state before retrying.

PDB name already exists

The creation operation requested a pluggable database name already in use.

Oracle official reference
Read more

PDB name already exists

Meaning The creation operation requested a pluggable database name already in use.

What to check Check V$PDBS.NAME in the target CDB. Verify whether the existing PDB is the intended one before choosing a new name.

Datafile mapping required for PDB creation

The PDB operation needs a source-to-target file mapping or a configured destination that supplies it.

Oracle official reference
Read more

Datafile mapping required for PDB creation

Meaning The PDB operation needs a source-to-target file mapping or a configured destination that supplies it.

What to check Review FILE_NAME_CONVERT, PDB_FILE_NAME_CONVERT and Oracle Managed Files settings for this operation. Check existing PDB names with V$PDBS.NAME and ensure that target file paths are distinct.

PDB is already closed

A close request targeted a pluggable database that was already closed.

Oracle official reference
Read more

PDB is already closed

Meaning A close request targeted a pluggable database that was already closed.

What to check Check V$PDBS.OPEN_MODE in the CDB root and identify the relevant instance in RAC before repeating the request.

Active transaction prevents a container switch

The session attempted to switch containers while a transaction was active.

Oracle official reference
Read more

Active transaction prevents a container switch

Meaning The session attempted to switch containers while a transaction was active.

What to check Complete the transaction according to the application's intended outcome, or use a separate connection to the target container.

PDB metadata XML file is invalid

Oracle could not use the XML metadata named in the PDB operation.

Oracle official reference
Read more

PDB metadata XML file is invalid

Meaning Oracle could not use the XML metadata named in the PDB operation.

What to check Read the accompanying XML error and inspect the file path, contents and originating unplug or describe operation.

Common grant attempted for a local grantee

A common privilege grant targeted a local user or role.

Oracle official reference
Read more

Common grant attempted for a local grantee

Meaning A common privilege grant targeted a local user or role.

What to check Check the grantee's COMMON flag and the current container. Use a local grant in the intended PDB when local access is required.

ORA-01539

2 scenarios

Tablespace Is Offline

A DML or query operation failed because the tablespace containing the target object has been taken offline and is not accessible.

Oracle official reference
Read more

Tablespace Is Offline

Meaning A DML or query operation failed because the tablespace containing the target object has been taken offline and is not accessible.

Possible causes DBA took the tablespace offline for maintenance (ALTER TABLESPACE t OFFLINE); automatic offline due to datafile I/O errors (in ARCHIVELOG mode); tablespace recovery in progress; partial database restore operation in flight.

Troubleshooting Check tablespace status: SELECT TABLESPACE_NAME, STATUS FROM DBA_TABLESPACES; to bring online after maintenance: ALTER TABLESPACE my_ts ONLINE; if datafile recovery needed: RMAN> RESTORE DATAFILE n; RECOVER DATAFILE n; ALTER DATABASE DATAFILE n ONLINE; then: ALTER TABLESPACE my_ts ONLINE; verify: SELECT FILE#, STATUS FROM V$DATAFILE WHERE TS#=(SELECT TS# FROM V$TABLESPACE WHERE NAME='MY_TS').

Tablespace Offline β€” Recovery Pending After Storage Failure

Meaning A tablespace was automatically taken offline by Oracle after multiple I/O errors on its datafiles, making all objects in that tablespace inaccessible until recovery is completed.

Possible causes Storage LUN failure causing repeated I/O errors; Oracle automatically offlines the tablespace in ARCHIVELOG mode to protect data integrity while allowing the rest of the database to continue; FORCE offline occurs when NOARCHIVELOG mode can't offline gracefully.

Troubleshooting Restore the storage LUN or replace the failed disk; restore the datafile from RMAN backup: RMAN> SQL 'ALTER DATABASE DATAFILE n OFFLINE'; RESTORE DATAFILE n; RECOVER DATAFILE n; SQL 'ALTER DATABASE DATAFILE n ONLINE'; ALTER TABLESPACE my_ts ONLINE; validate: SELECT TABLESPACE_NAME, STATUS FROM DBA_TABLESPACES WHERE STATUS != 'ONLINE'.

Tablespace Already Exists

A CREATE TABLESPACE statement failed because a tablespace with the same name already exists in the database dictionary.

Oracle official reference
Read more

Tablespace Already Exists

Meaning A CREATE TABLESPACE statement failed because a tablespace with the same name already exists in the database dictionary.

Possible causes Idempotent DDL script not checking existence before creation; tablespace created in a previous incomplete deployment attempt; different schema design assumes tablespace needs creation but it already exists from a prior migration.

Troubleshooting Check existing tablespaces: SELECT TABLESPACE_NAME, STATUS, CONTENTS FROM DBA_TABLESPACES; use defensive script: DECLARE v_count NUMBER; BEGIN SELECT COUNT(*) INTO v_count FROM DBA_TABLESPACES WHERE TABLESPACE_NAME='MY_TS'; IF v_count=0 THEN EXECUTE IMMEDIATE 'CREATE TABLESPACE my_ts DATAFILE ...'; END IF; END; /; or simply verify and skip if exists.

ORA-01562

2 scenarios

Failed to Extend Undo Segment

The active undo segment could not extend into the undo tablespace because no free space is available, causing the current transaction to fail.

Oracle official reference
Read more

Failed to Extend Undo Segment

Meaning The active undo segment could not extend into the undo tablespace because no free space is available, causing the current transaction to fail.

Possible causes Undo tablespace full; long-running transactions consuming all undo space preventing older undo from expiring; AUTOEXTEND disabled on undo datafile; UNDO_RETENTION set too high, keeping undo data longer than needed, filling the tablespace.

Troubleshooting Immediate: check undo tablespace usage: SELECT TABLESPACE_NAME, SUM(BLOCKS)*8192/1024/1024 MB_USED FROM DBA_UNDO_EXTENTS WHERE STATUS='ACTIVE' GROUP BY TABLESPACE_NAME; add a datafile: ALTER TABLESPACE UNDOTBS1 ADD DATAFILE '/oradata/undotbs02.dbf' SIZE 4G AUTOEXTEND ON NEXT 512M MAXSIZE 20G; long-term: tune UNDO_RETENTION and commit large DML in batches.

A rollback segment could not grow during bulk DML

Meaning A large transaction may encounter a rollback segment extension failure. The following error identifies the precise allocation problem.

What to check Check the underlying space error, undo datafile capacity and transaction usage in V$TRANSACTION.USED_UBLK. Preserve atomicity if considering a different batch size.

Temporary segment reached its extent limit

The temporary segment reached the maximum extent count permitted in the named tablespace.

Oracle official reference
Read more

Temporary segment reached its extent limit

Meaning The temporary segment reached the maximum extent count permitted in the named tablespace.

What to check Check the tablespace's extent management and storage settings. If replacing a legacy temporary tablespace, verify the new default, user assignments and active usage before retiring the old one.

Unable to Extend Index Partition in Tablespace

A local partitioned index partition cannot grow because the tablespace designated for that index partition has no free space.

Oracle official reference
Read more

Unable to Extend Index Partition in Tablespace

Meaning A local partitioned index partition cannot grow because the tablespace designated for that index partition has no free space.

Possible causes Index tablespace for a specific partition grew full; AUTOEXTEND disabled; each partition of a local partitioned index stored in its own tablespace, and one of them ran out of space; common in range-partitioned tables with per-partition tablespace allocation.

Troubleshooting Identify the full tablespace: SELECT INDEX_NAME, PARTITION_NAME, TABLESPACE_NAME FROM DBA_IND_PARTITIONS WHERE STATUS='UNUSABLE' OR INDEX_NAME='MY_IDX'; add space: ALTER TABLESPACE idx_ts_q1 ADD DATAFILE '/oradata/idx_ts_q1_02.dbf' SIZE 2G AUTOEXTEND ON; then rebuild the partition: ALTER INDEX my_idx REBUILD PARTITION q1_part.

Cannot Extend Datafile β€” MAXSIZE or Disk Full

A datafile with AUTOEXTEND ON reached its MAXSIZE limit and cannot grow further, or the underlying filesystem has no remaining free space.

Oracle official reference
Read more

Cannot Extend Datafile β€” MAXSIZE or Disk Full

Meaning A datafile with AUTOEXTEND ON reached its MAXSIZE limit and cannot grow further, or the underlying filesystem has no remaining free space.

Possible causes MAXSIZE parameter reached (common when MAXSIZE set conservatively); OS filesystem 100% full; ASM diskgroup full; LVM volume group at capacity; tablespace growth rate exceeded capacity planning assumptions.

Troubleshooting Increase MAXSIZE: ALTER DATABASE DATAFILE '/oradata/data01.dbf' AUTOEXTEND ON MAXSIZE 32G; or add a new datafile: ALTER TABLESPACE users ADD DATAFILE '/oradata/data02.dbf' SIZE 4G AUTOEXTEND ON NEXT 512M MAXSIZE 30G; check filesystem: df -h /oradata; check ASM: SELECT GROUP_NUMBER, FREE_MB FROM V$ASM_DISKGROUP; set up monitoring alerts at 80% capacity.

Datafile shrink failed

Oracle could not complete the datafile shrink. The accompanying error describes the reason.

Oracle official reference
Read more

Datafile shrink failed

Meaning Oracle could not complete the datafile shrink. The accompanying error describes the reason.

What to check Inspect the file and next message. ORA-03297 specifically identifies allocated data beyond the requested resize boundary.

Specified Partition Does Not Exist

An ALTER TABLE operation (DROP PARTITION, EXCHANGE PARTITION, TRUNCATE PARTITION) referenced a partition name that does not exist in the table's partition definition.

Oracle official reference
Read more

Specified Partition Does Not Exist

Meaning An ALTER TABLE operation (DROP PARTITION, EXCHANGE PARTITION, TRUNCATE PARTITION) referenced a partition name that does not exist in the table's partition definition.

Possible causes Partition naming convention mismatch; partition was previously dropped and the script still references it; automated partition maintenance script using a stale partition list; wrong table name in the ALTER TABLE statement.

Troubleshooting List existing partitions: SELECT PARTITION_NAME, HIGH_VALUE, PARTITION_POSITION FROM DBA_TAB_PARTITIONS WHERE TABLE_NAME='MY_TABLE' ORDER BY PARTITION_POSITION; use dynamic SQL in partition maintenance scripts: SELECT PARTITION_NAME INTO v_pname FROM DBA_TAB_PARTITIONS WHERE TABLE_NAME='MY_TABLE' AND HIGH_VALUE LIKE '%2024-01-01%'; never hardcode partition names in scripts β€” always derive from DBA_TAB_PARTITIONS dynamically.

Advanced Queuing Table Does Not Exist

An ENQUEUE, DEQUEUE, or queue administration operation referenced a queue table that does not exist in the current schema.

Oracle official reference
Read more

Advanced Queuing Table Does Not Exist

Meaning An ENQUEUE, DEQUEUE, or queue administration operation referenced a queue table that does not exist in the current schema.

Possible causes Queue table not created before attempting to create the queue on it; wrong schema qualifier; queue table dropped or schema migrated without recreating AQ infrastructure; deployment script executed in wrong order (queue before queue table).

Troubleshooting Create queue table first: DBMS_AQADM.CREATE_QUEUE_TABLE(queue_table => 'MY_QUEUE_TABLE', queue_payload_type => 'SYS.AQ$_JMS_TEXT_MESSAGE', multiple_consumers => TRUE); then create queue: DBMS_AQADM.CREATE_QUEUE(queue_name => 'MY_QUEUE', queue_table => 'MY_QUEUE_TABLE'); verify: SELECT QUEUE_TABLE, QUEUE_NAME FROM ALL_QUEUES WHERE OWNER='MY_SCHEMA'.

Application Already Subscribed to Queue

DBMS_AQADM.ADD_SUBSCRIBER failed because the specified subscriber already has an active subscription to the target queue.

Oracle official reference
Read more

Application Already Subscribed to Queue

Meaning DBMS_AQADM.ADD_SUBSCRIBER failed because the specified subscriber already has an active subscription to the target queue.

Possible causes Idempotent deployment script calling ADD_SUBSCRIBER without checking if the subscription already exists; application restart triggering duplicate subscription registration; microservice architecture where multiple pods each try to subscribe independently.

Troubleshooting Use defensive subscription: BEGIN DBMS_AQADM.ADD_SUBSCRIBER(queue_name => 'MY_QUEUE', subscriber => SYS.AQ$_AGENT('MY_APP', NULL, NULL)); EXCEPTION WHEN OTHERS THEN IF SQLCODE = -24034 THEN NULL; ELSE RAISE; END IF; END; verify subscriptions: SELECT NAME, ADDRESS FROM DBA_QUEUE_SUBSCRIBERS WHERE QUEUE_NAME='MY_QUEUE'.

Queue payload types differ

The source and destination queues use incompatible object types for their payloads.

Oracle official reference
Read more

Queue payload types differ

Meaning The source and destination queues use incompatible object types for their payloads.

What to check Compare the payload definitions of both queue tables and select a destination that accepts the source payload type.

Timeout or End-of-Fetch During Queue Dequeue

A DEQUEUE operation timed out because no message matching the dequeue criteria became available within the specified WAIT time.

Oracle official reference
Read more

Timeout or End-of-Fetch During Queue Dequeue

Meaning A DEQUEUE operation timed out because no message matching the dequeue criteria became available within the specified WAIT time.

Possible causes Queue is empty and WAIT=DBMS_AQ.NO_WAIT or a short wait time was specified; consumer waiting for messages that are not being produced; dequeue condition too selective finding no messages; consumer and producer out of sync.

Troubleshooting Handle ORA-25228 as a normal empty-queue condition, not an error: EXCEPTION WHEN OTHERS THEN IF SQLCODE = -25228 THEN NULL; -- Queue empty, retry later ELSE RAISE; END IF; use DBMS_AQ.FOREVER for blocking dequeue in dedicated consumer threads; implement exponential backoff in polling consumers; monitor queue depth: SELECT COUNT(*) FROM MY_QUEUE WHERE MSG_STATE='READY'.

Current transaction has fetched its available messages

No more messages are available to the current dequeue transaction in its present navigation context.

Oracle official reference
Read more

Current transaction has fetched its available messages

Meaning No more messages are available to the current dequeue transaction in its present navigation context.

What to check Review dequeue navigation, transaction boundaries and consumer filters before concluding that the queue is empty.

ORA-03135

2 scenarios

Connection to the server was lost

An established Oracle Net connection ended unexpectedly.

Oracle official reference
Read more

Connection to the server was lost

Meaning An established Oracle Net connection ended unexpectedly.

What to check Correlate client, listener and server logs with network idle policies. Check the outcome of the last transaction before retrying work.

Server process terminated under memory pressure

Meaning If the OS records an out-of-memory kill at the same time, losing that process can explain a disconnected session.

What to check Match the OS process ID and timestamps to Oracle's trace and memory usage. Review host and database memory limits using observed demand.

Transaction Rolled Back

Oracle rolled back the current transaction, typically because it was chosen as the deadlock victim, was terminated by Resource Manager, or was rolled back by an explicit internal decision.

Oracle official reference
Read more

Transaction Rolled Back

Meaning Oracle rolled back the current transaction, typically because it was chosen as the deadlock victim, was terminated by Resource Manager, or was rolled back by an explicit internal decision.

Possible causes Deadlock detection: Oracle chose this transaction as the victim to break the deadlock cycle (ORA-00060 will accompany this); Resource Manager terminating a runaway transaction; ROLLBACK command issued by the application; transaction rolled back due to ORA-01555 or other internal error.

Troubleshooting Application must detect ORA-24761 and retry the transaction if it was a deadlock victim; implement retry logic with exponential backoff (max 3 retries); analyze deadlock trace file: SELECT VALUE FROM V$DIAG_INFO WHERE NAME='Default Trace File'; redesign transaction ordering to prevent deadlocks; use SELECT FOR UPDATE SKIP LOCKED to avoid deadlock-prone lock contention patterns.

ORA-02290

2 scenarios

Check Constraint Violated

An INSERT or UPDATE supplied a value that fails the Boolean expression defined in a CHECK constraint on the target column or table.

Oracle official reference
Read more

Check Constraint Violated

Meaning An INSERT or UPDATE supplied a value that fails the Boolean expression defined in a CHECK constraint on the target column or table.

Possible causes Application inserting a value outside the allowed range (e.g., STATUS NOT IN ('A','I','P')); business rule encoded in the database that the application layer did not enforce; data migration loading legacy values not valid under current constraints.

Troubleshooting Identify the violated constraint: SELECT CONSTRAINT_NAME, SEARCH_CONDITION FROM DBA_CONSTRAINTS WHERE TABLE_NAME='MY_TABLE' AND CONSTRAINT_TYPE='C'; review the failing row value against the condition; fix the application logic or pre-filter migration data; to temporarily disable during migration: ALTER TABLE t DISABLE CONSTRAINT ck_name; re-enable and validate: ALTER TABLE t ENABLE VALIDATE CONSTRAINT ck_name.

Check Constraint Violated β€” Data Migration with Disabled Constraints

Meaning After re-enabling a CHECK constraint following a bulk data migration, the ENABLE VALIDATE step fails because migrated rows contain values that violate the constraint.

Possible causes Source system had looser validation rules than the target; ETL pipeline bypassed constraint checks using direct-path inserts; APPEND hint or SQL*Loader DIRECT=TRUE mode bypasses constraint validation during load.

Troubleshooting Pre-validate before enabling: SELECT COUNT(*), constraint_column FROM migration_table WHERE NOT (search_condition) GROUP BY constraint_column; create a exceptions table: CREATE TABLE exceptions (ROW_ID ROWID, OWNER VARCHAR2(30), TABLE_NAME VARCHAR2(30), CONSTRAINT VARCHAR2(30)); use EXCEPTIONS INTO: ALTER TABLE t ENABLE VALIDATE CONSTRAINT ck_name EXCEPTIONS INTO exceptions; query exceptions table to find and fix all violating rows.

Such Unique or Primary Key Already Exists in the Table

A CREATE TABLE or ALTER TABLE ADD CONSTRAINT statement failed because a UNIQUE or PRIMARY KEY constraint with the same key columns already exists on the table.

Oracle official reference
Read more

Such Unique or Primary Key Already Exists in the Table

Meaning A CREATE TABLE or ALTER TABLE ADD CONSTRAINT statement failed because a UNIQUE or PRIMARY KEY constraint with the same key columns already exists on the table.

Possible causes Idempotent DDL script creating constraints without checking existence; primary key already implicitly created by CREATE TABLE definition; constraint re-added after a failed partial migration script; deployment tool running CREATE CONSTRAINT multiple times.

Troubleshooting Check existing constraints: SELECT CONSTRAINT_NAME, CONSTRAINT_TYPE, STATUS FROM DBA_CONSTRAINTS WHERE TABLE_NAME='MY_TABLE' AND CONSTRAINT_TYPE IN ('P','U'); use defensive DDL: BEGIN EXECUTE IMMEDIATE 'ALTER TABLE t ADD CONSTRAINT pk_t PRIMARY KEY (id)'; EXCEPTION WHEN OTHERS THEN IF SQLCODE=-2261 THEN NULL; ELSE RAISE; END IF; END; verify the existing constraint is valid before skipping.

Column Type Incompatible with Referenced Column Type

A FOREIGN KEY constraint cannot be created because the child column's data type does not exactly match the parent column's data type.

Oracle official reference
Read more

Column Type Incompatible with Referenced Column Type

Meaning A FOREIGN KEY constraint cannot be created because the child column's data type does not exactly match the parent column's data type.

Possible causes Parent table uses NUMBER(10) but child table uses NUMBER(12) or VARCHAR2 for the same logical key; NLS character set differences affecting CHAR semantics between tables; child and parent column lengths or precision differ; foreign key columns must match exactly in type and precision.

Troubleshooting Verify column types: SELECT TABLE_NAME, COLUMN_NAME, DATA_TYPE, DATA_LENGTH, DATA_PRECISION FROM DBA_TAB_COLUMNS WHERE COLUMN_NAME='FK_COL' AND TABLE_NAME IN ('PARENT','CHILD'); modify the child column to exactly match: ALTER TABLE child MODIFY fk_col NUMBER(10); then create the constraint: ALTER TABLE child ADD CONSTRAINT fk_name FOREIGN KEY (fk_col) REFERENCES parent(id).

No Matching Unique or Primary Key for This Column-List

A FOREIGN KEY constraint references a parent table column (or column combination) that does not have a PRIMARY KEY or UNIQUE constraint defined on it.

Oracle official reference
Read more

No Matching Unique or Primary Key for This Column-List

Meaning A FOREIGN KEY constraint references a parent table column (or column combination) that does not have a PRIMARY KEY or UNIQUE constraint defined on it.

Possible causes Parent table column referenced in REFERENCES clause has no PRIMARY KEY or UNIQUE constraint; composite FK references columns not covered by a composite unique/PK; wrong column name specified in REFERENCES clause; parent table's unique constraint was recently dropped.

Troubleshooting Verify parent table's primary/unique keys: SELECT CONSTRAINT_NAME, CONSTRAINT_TYPE FROM DBA_CONSTRAINTS WHERE TABLE_NAME='PARENT_TABLE' AND CONSTRAINT_TYPE IN ('P','U'); verify column membership: SELECT * FROM DBA_CONS_COLUMNS WHERE CONSTRAINT_NAME='PK_PARENT'; create the missing parent constraint first, then add the foreign key.

Cannot Validate Constraint β€” Check Constraint Violated by Existing Rows

ALTER TABLE ENABLE VALIDATE CONSTRAINT failed because existing data in the table violates the CHECK constraint being enabled.

Oracle official reference
Read more

Cannot Validate Constraint β€” Check Constraint Violated by Existing Rows

Meaning ALTER TABLE ENABLE VALIDATE CONSTRAINT failed because existing data in the table violates the CHECK constraint being enabled.

Possible causes Check constraint added retroactively but existing data violates the rule; data migrated or bulk-loaded while the constraint was disabled; different application versions used different value ranges for the column.

Troubleshooting Identify violating rows: SELECT * FROM my_table WHERE NOT (check_condition); fix or archive invalid data before enabling: UPDATE my_table SET col=default_val WHERE NOT (col IN ('A','I','P')); to enable without validating existing rows (trusting they are correct): ALTER TABLE my_table ENABLE NOVALIDATE CONSTRAINT ck_name; use ENABLE VALIDATE only after cleaning data.

Cannot Enable Constraint β€” Null Values Found

Enabling a NOT NULL constraint or a PRIMARY KEY constraint failed because existing rows contain NULL values in the constrained column.

Oracle official reference
Read more

Cannot Enable Constraint β€” Null Values Found

Meaning Enabling a NOT NULL constraint or a PRIMARY KEY constraint failed because existing rows contain NULL values in the constrained column.

Possible causes Column added as nullable, populated partially, and now being converted to NOT NULL; primary key column contains NULLs from a bulk load that bypassed validation; nullable column used as a composite primary key component with NULL entries.

Troubleshooting Find NULL rows: SELECT COUNT(*) FROM my_table WHERE col IS NULL; update them with a default: UPDATE my_table SET col=default_val WHERE col IS NULL; COMMIT; then enable the constraint: ALTER TABLE my_table ENABLE CONSTRAINT nn_col; if a default is appropriate going forward: ALTER TABLE my_table MODIFY col NOT NULL DEFAULT 'UNKNOWN'.

Cannot Disable Constraint β€” Dependencies Exist

ALTER TABLE DISABLE CONSTRAINT on a PRIMARY KEY or UNIQUE constraint failed because other tables have FOREIGN KEY constraints that reference it.

Oracle official reference
Read more

Cannot Disable Constraint β€” Dependencies Exist

Meaning ALTER TABLE DISABLE CONSTRAINT on a PRIMARY KEY or UNIQUE constraint failed because other tables have FOREIGN KEY constraints that reference it.

Possible causes Attempting to disable a parent table's primary key while child tables have active FK references; during data migration, DBAs often need to disable parent PKs but must disable child FKs first in the correct dependency order.

Troubleshooting Identify all child FK constraints: SELECT a.TABLE_NAME, a.CONSTRAINT_NAME FROM DBA_CONSTRAINTS a JOIN DBA_CONSTRAINTS b ON a.R_CONSTRAINT_NAME=b.CONSTRAINT_NAME WHERE b.TABLE_NAME='PARENT_TABLE'; disable FKs first: ALTER TABLE child_table DISABLE CONSTRAINT fk_name; then disable parent PK: ALTER TABLE parent_table DISABLE CONSTRAINT pk_name; re-enable in reverse order after data operations.

Cannot Validate β€” Parent Keys Not Found (FK Validation Failed)

ALTER TABLE ENABLE VALIDATE CONSTRAINT on a FOREIGN KEY constraint failed because child rows exist whose FK values do not match any parent key.

Oracle official reference
Read more

Cannot Validate β€” Parent Keys Not Found (FK Validation Failed)

Meaning ALTER TABLE ENABLE VALIDATE CONSTRAINT on a FOREIGN KEY constraint failed because child rows exist whose FK values do not match any parent key.

Possible causes Data migration inserted child rows while FK was disabled without ensuring parent rows exist; orphaned child records from deleted parents (FK was DISABLED during bulk delete); incorrect reference key values in child rows from legacy data.

Troubleshooting Find orphaned rows: SELECT DISTINCT c.fk_col FROM child c WHERE NOT EXISTS (SELECT 1 FROM parent p WHERE p.id=c.fk_col); delete or fix orphans: DELETE FROM child WHERE fk_col NOT IN (SELECT id FROM parent); then validate: ALTER TABLE child ENABLE VALIDATE CONSTRAINT fk_name; alternatively use ENABLE NOVALIDATE to allow without checking historical data.

Unique/Primary Keys in Table Referenced by Foreign Keys

DROP TABLE or DROP CONSTRAINT failed because other tables have FOREIGN KEY constraints that reference the unique or primary key being removed.

Oracle official reference
Read more

Unique/Primary Keys in Table Referenced by Foreign Keys

Meaning DROP TABLE or DROP CONSTRAINT failed because other tables have FOREIGN KEY constraints that reference the unique or primary key being removed.

Possible causes Attempting DROP TABLE parent_table without first dropping child FK constraints; DROP CONSTRAINT on a PK column still referenced by FKs in child tables; schema cleanup script executing DROP TABLE statements in wrong (child-first) order.

Troubleshooting Use CASCADE CONSTRAINTS for table drops: DROP TABLE parent_table CASCADE CONSTRAINTS; for constraint drops: ALTER TABLE child_table DROP CONSTRAINT fk_name; then ALTER TABLE parent_table DROP PRIMARY KEY; generate FK drop script: SELECT 'ALTER TABLE '||TABLE_NAME||' DROP CONSTRAINT '||CONSTRAINT_NAME||';' FROM DBA_CONSTRAINTS WHERE R_CONSTRAINT_NAME IN (SELECT CONSTRAINT_NAME FROM DBA_CONSTRAINTS WHERE TABLE_NAME='PARENT_TABLE').

Invalid Cursor

An operation (FETCH, CLOSE, EXECUTE) was performed on a cursor handle that is not valid β€” it was never opened, has already been closed, or the handle itself is NULL or uninitialized.

Oracle official reference
Read more

Invalid Cursor

Meaning An operation (FETCH, CLOSE, EXECUTE) was performed on a cursor handle that is not valid β€” it was never opened, has already been closed, or the handle itself is NULL or uninitialized.

Possible causes DBMS_SQL cursor closed and then referenced again; OCI application using a stale cursor handle after cursor close; exception handler closing a cursor that was never opened (cursor handle is 0 or negative); PL/SQL explicit cursor FETCH after CLOSE.

Troubleshooting Always validate cursor state: IF DBMS_SQL.IS_OPEN(v_cursor) THEN DBMS_SQL.CLOSE_CURSOR(v_cursor); END IF; for explicit PL/SQL cursors: IF v_cur%ISOPEN THEN FETCH/CLOSE; END IF; in OCI: always call OCIHandleAlloc before OCIStmtPrepare; add null-checks on cursor handles in error paths; never reuse a closed cursor handle β€” open a new one.

Not All Variables Bound

A SQL statement with bind variable placeholders (e.g., :1, :name, ?) was executed but fewer bind values were provided than the number of placeholders in the statement.

Oracle official reference
Read more

Not All Variables Bound

Meaning A SQL statement with bind variable placeholders (e.g., :1, :name, ?) was executed but fewer bind values were provided than the number of placeholders in the statement.

Possible causes Dynamic SQL string built with :1, :2, :3 but only two bind values provided; DBMS_SQL.BIND_VARIABLE called for fewer positions than the statement requires; JDBC PreparedStatement with 3 '?' placeholders but only 2 setXxx() calls made; SQL statement edited to add a WHERE clause binding but application code not updated.

Troubleshooting Count placeholders: SELECT REGEXP_COUNT(sql_text, ':\w+') FROM DUAL; ensure bind calls match placeholder count exactly; in DBMS_SQL: DBMS_SQL.BIND_VARIABLE(c, ':p1', val1); DBMS_SQL.BIND_VARIABLE(c, ':p2', val2); in JDBC: pstmt.setString(1,v1); pstmt.setString(2,v2); use named binds instead of positional to make mismatches obvious.

Not Logged On

An Oracle API call was made without an active database session β€” the session never logged on, was terminated, or the connection was severed before the call was made.

Oracle official reference
Read more

Not Logged On

Meaning An Oracle API call was made without an active database session β€” the session never logged on, was terminated, or the connection was severed before the call was made.

Possible causes OCI application calling OCIStmtExecute before OCISessionBegin; Pro*C program losing connection and not reconnecting before issuing SQL; session expired due to IDLE_TIME profile limit between operations; connection pool returning an invalidated connection that was silently dropped.

Troubleshooting In OCI: always verify session handle is valid before use; in JDBC: enable connection validation (testOnBorrow=true) in the pool; in Pro*C: EXEC SQL WHENEVER SQLERROR DO reconnect(); implement connection health-check wrapper that reconnects on ORA-01012; monitor profile IDLE_TIME: SELECT PROFILE, LIMIT FROM DBA_PROFILES WHERE RESOURCE_NAME='IDLE_TIME'.

User Requested Cancel of Current Operation

The currently executing SQL or PL/SQL operation was explicitly canceled β€” either by the user pressing Ctrl+C in SQL*Plus, by an application-level timeout mechanism, or by an OCIBreak() call from OCI.

Oracle official reference
Read more

User Requested Cancel of Current Operation

Meaning The currently executing SQL or PL/SQL operation was explicitly canceled β€” either by the user pressing Ctrl+C in SQL*Plus, by an application-level timeout mechanism, or by an OCIBreak() call from OCI.

Possible causes SQL*Plus user hit Ctrl+C during a long-running query; JDBC statement timeout (setQueryTimeout) expired and the driver issued a cancel; application-level watchdog thread called OCIBreak to interrupt a runaway operation; Resource Manager switching the session's consumer group causing the statement to be aborted.

Troubleshooting Treat ORA-01013 in applications as a recoverable interruption β€” rollback and retry or report timeout to user; in JDBC: catch SQLTimeoutException which wraps ORA-01013; investigate WHY the query was slow enough to trigger a timeout: check AWR for the SQL's execution plan and tune; increase setQueryTimeout only if the operation is legitimately long-running.

ORACLE Shutdown In Progress

A new connection attempt was rejected because the Oracle instance is currently executing a SHUTDOWN sequence and is no longer accepting new user connections.

Oracle official reference
Read more

ORACLE Shutdown In Progress

Meaning A new connection attempt was rejected because the Oracle instance is currently executing a SHUTDOWN sequence and is no longer accepting new user connections.

Possible causes DBA issued SHUTDOWN IMMEDIATE or SHUTDOWN TRANSACTIONAL; OS-level shutdown script stopping Oracle services; CRS-managed database rolling restart; application connection pool attempting to establish new connections while the database is shutting down.

Troubleshooting Applications must handle ORA-01014 gracefully by implementing connection retry with exponential backoff; connection pool should detect this error and pause reconnection attempts; monitor for planned shutdowns via change management; implement application-level circuit breaker that disables DB operations when ORA-01014 is received; alert operations team immediately when this error appears in application logs unexpectedly.

Illegal Variable Name/Number

A bind variable name or position specified in an OCI BIND call, EXECUTE IMMEDIATE, or DBMS_SQL.BIND_VARIABLE is not valid or does not match any placeholder in the parsed SQL statement.

Oracle official reference
Read more

Illegal Variable Name/Number

Meaning A bind variable name or position specified in an OCI BIND call, EXECUTE IMMEDIATE, or DBMS_SQL.BIND_VARIABLE is not valid or does not match any placeholder in the parsed SQL statement.

Possible causes Bind variable name in BIND_VARIABLE call (':param1') does not match the placeholder in the SQL text (':p1'); positional bind index out of range; SQL statement rebuilt dynamically but bind calls reference old placeholder names; trailing spaces in bind variable name causing mismatch.

Troubleshooting Verify placeholder names match exactly: v_sql := 'SELECT * FROM t WHERE id=:v_id'; DBMS_SQL.BIND_VARIABLE(c, ':v_id', 100); β€” the name in BIND_VARIABLE must exactly match the colon-prefixed name in the SQL; use DBMS_SQL.DESCRIBE_COLUMNS after parsing to verify bind positions; avoid mixing named and positional binds in the same statement.

Insufficient Privileges on Underlying Objects of the View

A user has SELECT privilege on a view but lacks the required privileges on the base tables or other objects that the view queries, preventing the view from executing.

Oracle official reference
Read more

Insufficient Privileges on Underlying Objects of the View

Meaning A user has SELECT privilege on a view but lacks the required privileges on the base tables or other objects that the view queries, preventing the view from executing.

Possible causes View owner granted SELECT on the view to user A, but user A does not have direct grants on the base tables, and the view was created without AUTHID CURRENT_USER (invoker's rights); view referencing objects in a schema where direct access was revoked after view creation.

Troubleshooting Grant direct SELECT on base tables: GRANT SELECT ON base_table TO app_user; or use a stored procedure with AUTHID DEFINER to execute queries securely without exposing base tables; alternatively create the view WITH READ ONLY and ensure the view owner has the required table privileges; use SELECT * FROM SESSION_PRIVS to verify current user's privileges.

Savepoint Never Established in This Session

ROLLBACK TO SAVEPOINT savepoint_name failed because the specified savepoint was never created in the current session, or was erased by a prior ROLLBACK or COMMIT.

Oracle official reference
Read more

Savepoint Never Established in This Session

Meaning ROLLBACK TO SAVEPOINT savepoint_name failed because the specified savepoint was never created in the current session, or was erased by a prior ROLLBACK or COMMIT.

Possible causes SAVEPOINT sp_name was never executed before ROLLBACK TO SAVEPOINT sp_name; savepoint created in a different session (savepoints are session-local); previous ROLLBACK without the savepoint name erased all savepoints established after the last commit; COMMIT executed between SAVEPOINT and ROLLBACK TO SAVEPOINT, erasing the savepoint.

Troubleshooting Always establish savepoints before complex multi-step operations: SAVEPOINT before_update; UPDATE ...; IF error THEN ROLLBACK TO SAVEPOINT before_update; END IF; remember that COMMIT erases all savepoints; for nested transactions in PL/SQL, use PRAGMA AUTONOMOUS_TRANSACTION instead of savepoints; use savepoints defensively in long transactions with multiple logical steps.

Shutdown In Progress β€” Connection Is Denied

A new user connection was rejected because the database instance is in the process of shutting down; only SYSDBA and SYSOPER connections are allowed during this period.

Oracle official reference
Read more

Shutdown In Progress β€” Connection Is Denied

Meaning A new user connection was rejected because the database instance is in the process of shutting down; only SYSDBA and SYSOPER connections are allowed during this period.

Possible causes SHUTDOWN NORMAL or SHUTDOWN IMMEDIATE in progress waiting for existing sessions to disconnect; application connection pool aggressively retrying connections during the shutdown window; automated monitoring tool attempting connections during planned maintenance.

Troubleshooting Implement application-level maintenance mode detection: poll V$INSTANCE.STATUS or the listener's status before connecting; configure connection pool with maxRetries and retryDelay to back off gracefully; use JDBC connection validation to detect ORA-01090 and pause pool acquisition; notify application teams before initiating database shutdowns to activate maintenance pages.

Oracle Instance Terminated β€” Disconnection Forced

The Oracle instance crashed or was aborted while the session was connected, causing all active sessions to be forcibly disconnected with their uncommitted transactions rolled back.

Oracle official reference
Read more

Oracle Instance Terminated β€” Disconnection Forced

Meaning The Oracle instance crashed or was aborted while the session was connected, causing all active sessions to be forcibly disconnected with their uncommitted transactions rolled back.

Possible causes ORA-00600 or ORA-07445 caused instance abort; DBA issued SHUTDOWN ABORT; background process (DBWn, LGWR, CKPT) crashed triggering instance recovery; OS killed Oracle processes due to OOM; storage failure caused critical I/O errors in background processes.

Troubleshooting Immediately check alert log: tail -1000 $ORACLE_BASE/diag/rdbms/.../alert_*.log | grep -A5 'ORA-00600\|ABORT\|terminating'; attempt restart: STARTUP; if recovery needed, Oracle will perform automatic instance recovery; inform application teams to retry transactions; check V$INSTANCE.STATUS after restart; investigate root cause before next production use.

I/O Error Reading Block from File

Oracle encountered a physical I/O error when attempting to read a specific block from a datafile, indicating a storage-level problem below Oracle.

Oracle official reference
Read more

I/O Error Reading Block from File

Meaning Oracle encountered a physical I/O error when attempting to read a specific block from a datafile, indicating a storage-level problem below Oracle.

Possible causes Disk hardware failure causing read errors; SAN/NAS path failure; corrupted block at the OS filesystem level; HBA timeout causing I/O to fail; multipath configuration failure leaving only a degraded path; RAID array degraded with missing parity.

Troubleshooting Immediately run RMAN block recovery: RMAN> RECOVER DATAFILE n BLOCK m; check OS I/O errors: dmesg | tail -100 | grep -i error; check storage path health: multipath -l; if block is physically unreadable, restore datafile from backup: RMAN> RESTORE DATAFILE n; RECOVER DATAFILE n; validate: RMAN> VALIDATE DATAFILE n; always check storage hardware health immediately after this error.

Error in Opening Database File

Oracle could not open a datafile at the OS level during database startup or during a file access attempt, preventing the database from opening.

Oracle official reference
Read more

Error in Opening Database File

Meaning Oracle could not open a datafile at the OS level during database startup or during a file access attempt, preventing the database from opening.

Possible causes Datafile physically missing from the filesystem; directory containing the datafile was deleted or moved; OS-level file permissions changed removing oracle user access; symbolic link pointing to datafile is broken; filesystem containing the datafile failed to mount after reboot.

Troubleshooting Verify file exists: ls -la /path/to/datafile.dbf; check mount status: df -h | grep /oradata; if file is missing and database is ARCHIVELOG mode: RMAN> RESTORE DATAFILE n; RECOVER DATAFILE n; ALTER DATABASE DATAFILE n ONLINE; if filesystem unmounted: remount it then open the database; check alert log for the specific file number and path: grep 'ORA-01116' alert_*.log.

Database File Header Failed Verification Check

The header of a datafile does not match what Oracle expects based on the controlfile, indicating the file is from a different database, a different time, or is corrupt.

Oracle official reference
Read more

Database File Header Failed Verification Check

Meaning The header of a datafile does not match what Oracle expects based on the controlfile, indicating the file is from a different database, a different time, or is corrupt.

Possible causes Wrong datafile restored from backup (file from a different database or a clone); datafile header corrupt due to incomplete write during crash; file system block size mismatch; datafile from before RESETLOGS being used after RESETLOGS opened the database with a new incarnation.

Troubleshooting Check file header: RMAN> LIST DATAFILECOPY '/path/file.dbf'; compare DBID with V$DATABASE: SELECT DBID FROM V$DATABASE; use DBVERIFY: dbv file=/path/file.dbf blocksize=8192; restore the correct file from backup: RMAN> RESTORE DATAFILE n; always verify DBID matches before restoring files; if post-RESETLOGS, use the correct post-RESETLOGS backup.

Offline Immediate Not Allowed Unless Media Recovery Enabled

ALTER TABLESPACE t OFFLINE IMMEDIATE was attempted but the database is in NOARCHIVELOG mode, which does not support immediate offline without data loss.

Oracle official reference
Read more

Offline Immediate Not Allowed Unless Media Recovery Enabled

Meaning ALTER TABLESPACE t OFFLINE IMMEDIATE was attempted but the database is in NOARCHIVELOG mode, which does not support immediate offline without data loss.

Possible causes NOARCHIVELOG mode databases cannot safely take tablespaces offline immediately because without archivelogs, the tablespace cannot be recovered when brought back online; the operation requires ARCHIVELOG mode for the recovery capability it depends on.

Troubleshooting In NOARCHIVELOG mode, use OFFLINE NORMAL instead: ALTER TABLESPACE t OFFLINE NORMAL; this requires all datafiles to be accessible; alternatively enable ARCHIVELOG mode: SHUTDOWN IMMEDIATE; STARTUP MOUNT; ALTER DATABASE ARCHIVELOG; ALTER DATABASE OPEN; then OFFLINE IMMEDIATE will be permitted; for production databases, ARCHIVELOG mode is mandatory for operational flexibility.

Datafile Going Offline Due to Error Advancing File Checkpoint

Oracle's DBWn background process could not write a checkpoint to a datafile and automatically offlined the file to protect the rest of the database, while logging this warning in the alert log.

Oracle official reference
Read more

Datafile Going Offline Due to Error Advancing File Checkpoint

Meaning Oracle's DBWn background process could not write a checkpoint to a datafile and automatically offlined the file to protect the rest of the database, while logging this warning in the alert log.

Possible causes I/O error on the specific datafile's storage path preventing DBWn from writing dirty buffers; storage LUN failure mid-operation; filesystem full preventing checkpoint write; disk I/O timeout; the datafile is automatically offlined as a protective measure in ARCHIVELOG mode.

Troubleshooting Immediately check alert log for accompanying ORA-00345 or ORA-01578; fix the storage issue: restore the failed path or LUN; restore and recover the datafile: RMAN> SQL 'ALTER DATABASE DATAFILE n OFFLINE'; RESTORE DATAFILE n; RECOVER DATAFILE n; SQL 'ALTER DATABASE DATAFILE n ONLINE'; monitor with: SELECT FILE#, STATUS, CHECKPOINT_CHANGE# FROM V$DATAFILE WHERE STATUS != 'ONLINE'.

End backup completed with a warning

Oracle ended backup mode for the files that were in it. Some writable files were outside backup mode during this backup.

Oracle official reference
Read more

End backup completed with a warning

Meaning Oracle ended backup mode for the files that were in it. Some writable files were outside backup mode during this backup.

What to check Identify those files in the alert log. Take a fresh valid backup of any file that could have changed during the copy.

Database creation failed

CREATE DATABASE failed. The next error in the stack identifies the particular failure.

Oracle official reference
Read more

Database creation failed

Meaning CREATE DATABASE failed. The next error in the stack identifies the particular failure.

What to check Review the alert log and accompanying error. Inventory any files created by this attempt and establish ownership and recoverability before considering cleanup.

Rollback Segment Does Not Exist

A command referencing a rollback segment by name (SET TRANSACTION USE ROLLBACK SEGMENT or ALTER ROLLBACK SEGMENT) failed because the named segment does not exist.

Oracle official reference
Read more

Rollback Segment Does Not Exist

Meaning A command referencing a rollback segment by name (SET TRANSACTION USE ROLLBACK SEGMENT or ALTER ROLLBACK SEGMENT) failed because the named segment does not exist.

Possible causes Legacy application using SET TRANSACTION USE ROLLBACK SEGMENT for manual RBS management but the database now uses Automatic Undo Management (AUM); old ROLLBACK_SEGMENTS parameter referencing non-existent segments in init.ora/SPFILE; rollback segment dropped but still referenced in configuration.

Troubleshooting Verify rollback segments: SELECT SEGMENT_NAME, STATUS FROM DBA_ROLLBACK_SEGS; modern databases use AUM β€” remove ROLLBACK_SEGMENTS from SPFILE: ALTER SYSTEM RESET ROLLBACK_SEGMENTS SCOPE=SPFILE; verify UNDO_MANAGEMENT=AUTO: SELECT VALUE FROM V$PARAMETER WHERE NAME='undo_management'; remove SET TRANSACTION USE ROLLBACK SEGMENT from application code as it is incompatible with AUM.

Tablespace Not Empty β€” Use INCLUDING CONTENTS Option

DROP TABLESPACE failed because the tablespace still contains segments (tables, indexes, LOBs, etc.) and the INCLUDING CONTENTS clause was not specified.

Oracle official reference
Read more

Tablespace Not Empty β€” Use INCLUDING CONTENTS Option

Meaning DROP TABLESPACE failed because the tablespace still contains segments (tables, indexes, LOBs, etc.) and the INCLUDING CONTENTS clause was not specified.

Possible causes Attempting DROP TABLESPACE without INCLUDING CONTENTS on a non-empty tablespace; tablespace considered empty by the DBA but still contains system-generated objects (LOB segments, index-organized table overflow segments, hidden IOT segments).

Troubleshooting List remaining objects: SELECT SEGMENT_TYPE, SEGMENT_NAME, OWNER FROM DBA_SEGMENTS WHERE TABLESPACE_NAME='MY_TS'; to drop all contents and datafiles: DROP TABLESPACE my_ts INCLUDING CONTENTS AND DATAFILES CASCADE CONSTRAINTS; to only drop the tablespace definition keeping datafiles: DROP TABLESPACE my_ts INCLUDING CONTENTS; WARNING: this permanently deletes all data β€” verify objects are backed up or migrated first.

Cannot Drop System Tablespace

An attempt to DROP TABLESPACE SYSTEM or SYSAUX was made, which Oracle prevents because these tablespaces are required for the database to function.

Oracle official reference
Read more

Cannot Drop System Tablespace

Meaning An attempt to DROP TABLESPACE SYSTEM or SYSAUX was made, which Oracle prevents because these tablespaces are required for the database to function.

Possible causes Script accidentally targeting SYSTEM instead of a user tablespace; tablespace name typo; automated space management script with insufficient safety checks allowing system tablespace names; DBAs unfamiliar with Oracle's protected tablespaces attempting cleanup.

Troubleshooting SYSTEM and SYSAUX can never be dropped; if these tablespaces are corrupt or need recovery, restore via RMAN: RMAN> RESTORE TABLESPACE SYSTEM; RECOVER TABLESPACE SYSTEM; verify the tablespace name in the DROP statement; add safety checks in scripts: IF v_ts_name IN ('SYSTEM','SYSAUX','UNDOTBS1','TEMP') THEN RAISE_APPLICATION_ERROR(-20001,'Cannot drop system tablespace'); END IF.

Oracle could not identify a file

Oracle could not identify the file named in the error stack.

Oracle official reference
Read more

Oracle could not identify a file

Meaning Oracle could not identify the file named in the error stack.

What to check Read the filename and subsequent error. Check location, access and file identity in the context of the failing operation.

REFRESH FAST Cannot Be Used for Materialized View

Fast (incremental) refresh was requested or configured for a materialized view that does not meet the structural requirements for REFRESH FAST.

Oracle official reference
Read more

REFRESH FAST Cannot Be Used for Materialized View

Meaning Fast (incremental) refresh was requested or configured for a materialized view that does not meet the structural requirements for REFRESH FAST.

Possible causes Materialized view uses subqueries, CONNECT BY, non-mergeable views, or analytic functions which fast refresh does not support; missing materialized view log on the base table(s); MV joins three or more tables without rowid in the SELECT list; GROUP BY with aggregates not supported for fast refresh without ROWID or primary key.

Troubleshooting Check MV capabilities: SELECT OWNER, MVIEW_NAME, FAST_REFRESHABLE, STALE_SINCE FROM DBA_MVIEWS WHERE MVIEW_NAME='MY_MV'; create required MV logs: CREATE MATERIALIZED VIEW LOG ON base_table WITH ROWID, SEQUENCE (col1, col2) INCLUDING NEW VALUES; simplify the MV query to meet fast refresh requirements; or switch to REFRESH COMPLETE: EXEC DBMS_MVIEW.REFRESH('MY_MV', method => 'C').

Error in Materialized View Refresh Path

DBMS_MVIEW.REFRESH failed with a generic error indicating a problem in the refresh execution path, often masking a more specific underlying error.

Oracle official reference
Read more

Error in Materialized View Refresh Path

Meaning DBMS_MVIEW.REFRESH failed with a generic error indicating a problem in the refresh execution path, often masking a more specific underlying error.

Possible causes Base table has been dropped or renamed; DB link used for remote MV refresh is broken; materialized view log on base table was purged or dropped; insufficient temp space for complete refresh; base table structure changed invalidating the MV definition.

Troubleshooting Enable detailed refresh errors: EXEC DBMS_MVIEW.REFRESH('MY_MV', atomic_refresh => FALSE); check DBA_MVIEW_REFRESH_TIMES and DBA_MVIEWS for status; for remote MVs: test the DB link: SELECT 1 FROM DUAL@remote_link; check MV log existence: SELECT LOG_TABLE FROM DBA_MVIEW_LOGS WHERE MASTER='BASE_TABLE'; drop and recreate the MV if base table structure changed: DROP MATERIALIZED VIEW mv_name; CREATE MATERIALIZED VIEW mv_name AS SELECT ...

Error on Auto Execute of Job β€” Materialized View Refresh Job

An Oracle-internal job (typically an automatic materialized view refresh job managed by DBMS_JOB or the Scheduler) failed during execution.

Oracle official reference
Read more

Error on Auto Execute of Job β€” Materialized View Refresh Job

Meaning An Oracle-internal job (typically an automatic materialized view refresh job managed by DBMS_JOB or the Scheduler) failed during execution.

Possible causes Automatic refresh job for a materialized view encountered an error; job marked BROKEN after repeated failures; base table locked or unavailable during scheduled refresh window; ORA-12008 from the MV refresh propagated as ORA-12012 from the job framework.

Troubleshooting Check broken jobs: SELECT JOB, WHAT, BROKEN, FAILURES FROM DBA_JOBS WHERE BROKEN='Y'; reset and rerun: EXEC DBMS_JOB.BROKEN(job_id, FALSE); EXEC DBMS_JOB.RUN(job_id); for Scheduler-based MV jobs: SELECT JOB_NAME, STATUS FROM DBA_SCHEDULER_JOB_RUN_DETAILS WHERE STATUS != 'SUCCEEDED' ORDER BY LOG_DATE DESC; address the underlying MV refresh error first before re-enabling the automatic job.

Materialized view index is missing

Oracle expected an index on the named materialized view.

Oracle official reference
Read more

Materialized view index is missing

Meaning Oracle expected an index on the named materialized view.

What to check Check the indexes on that materialized view and its recorded definition. Restore the required index using the correct columns.

Materialized View Log Younger Than Last Refresh

The materialized view log on the base table is newer than the last refresh of the materialized view, meaning the log was truncated or recreated since the last refresh, making fast refresh impossible.

Oracle official reference
Read more

Materialized View Log Younger Than Last Refresh

Meaning The materialized view log on the base table is newer than the last refresh of the materialized view, meaning the log was truncated or recreated since the last refresh, making fast refresh impossible.

Possible causes MV log was accidentally truncated or dropped and recreated after the last MV refresh; someone issued DBMS_MVIEW.PURGE_MVIEW_FROM_LOG to clean up log entries, going beyond what was needed; MV log was dropped as part of a maintenance operation without refreshing dependent MVs first.

Troubleshooting Fast refresh is not possible in this state β€” must do complete refresh: EXEC DBMS_MVIEW.REFRESH('MY_MV', method => 'C', atomic_refresh => FALSE); after complete refresh, fast refresh will work again: EXEC DBMS_MVIEW.REFRESH('MY_MV', method => 'F'); set up monitoring to alert when MV_LOG is modified without a corresponding MV refresh; never truncate MV logs manually.

Error Refreshing Materialized View

A materialized view refresh operation (manual or automatic) failed due to an error during the refresh process, leaving the MV in a STALE state.

Oracle official reference
Read more

Error Refreshing Materialized View

Meaning A materialized view refresh operation (manual or automatic) failed due to an error during the refresh process, leaving the MV in a STALE state.

Possible causes For ON COMMIT MVs: the base table transaction commit triggered a synchronous refresh that failed (e.g., ORA-01555, ORA-04031); for ON DEMAND MVs: scheduled refresh encountered temp space exhaustion or lock contention; base table query returning an error during refresh (ORA-00942, privileges revoked).

Troubleshooting Check MV status: SELECT MVIEW_NAME, STALENESS, COMPILE_STATE FROM DBA_MVIEWS WHERE MVIEW_NAME='MY_MV'; attempt manual refresh with error details: EXEC DBMS_MVIEW.REFRESH('MY_MV', atomic_refresh => FALSE, out_of_place => TRUE); check errors in DBA_MVIEW_REFRESH_TIMES; address root cause (space, locks, privileges) and then manually refresh to bring MV current.

Historical per-session sequence limit

Oracle Database 10g documented a limit on the number of sequences usable by one session.

Oracle official reference
Read more

Historical per-session sequence limit

Meaning Oracle Database 10g documented a limit on the number of sequences usable by one session.

What to check Use the linked 10g manual for historical context. For a newer installation, verify the message against that Oracle home before interpreting it.

Sequence CURRVAL Is Not Yet Defined in This Session

SEQUENCE_NAME.CURRVAL was referenced before SEQUENCE_NAME.NEXTVAL was called in the current session; CURRVAL only holds a value after at least one NEXTVAL call in the same session.

Oracle official reference
Read more

Sequence CURRVAL Is Not Yet Defined in This Session

Meaning SEQUENCE_NAME.CURRVAL was referenced before SEQUENCE_NAME.NEXTVAL was called in the current session; CURRVAL only holds a value after at least one NEXTVAL call in the same session.

Possible causes Application calling seq.CURRVAL immediately after a database reconnection (new session) without first calling seq.NEXTVAL; INSERT trigger referencing seq.CURRVAL but no NEXTVAL call made earlier in the session; microservice architecture where different requests hit different connection pool sessions β€” session A calls NEXTVAL but session B tries CURRVAL.

Troubleshooting Always call NEXTVAL before CURRVAL in any new session; design INSERT triggers to use NEXTVAL directly: :NEW.id := my_seq.NEXTVAL; never rely on CURRVAL across session boundaries; in Oracle 12c+, use IDENTITY columns instead of manual sequences: id NUMBER GENERATED ALWAYS AS IDENTITY; eliminates the CURRVAL session-dependency problem entirely.

Sequence NEXTVAL exceeds an internal limit

Oracle cannot represent the next sequence value with the configured sequence parameters.

Oracle official reference
Read more

Sequence NEXTVAL exceeds an internal limit

Meaning Oracle cannot represent the next sequence value with the configured sequence parameters.

What to check Inspect the sequence definition, limits and increment. Review dependent keys before changing its numbering scheme.

TNS: Net Service Name Is Incorrectly Specified

The connect string or service name format passed to Oracle is syntactically malformed and cannot be parsed as a valid TNS descriptor or EZConnect string.

Oracle official reference
Read more

TNS: Net Service Name Is Incorrectly Specified

Meaning The connect string or service name format passed to Oracle is syntactically malformed and cannot be parsed as a valid TNS descriptor or EZConnect string.

Possible causes EZConnect string missing the service name component (e.g., host:port without //host:port/service); tnsnames.ora entry with unbalanced parentheses or missing required keywords (HOST, PORT, SERVICE_NAME); JDBC URL with invalid format; ORACLE_SID or TWO_TASK environment variable set to an invalid value.

Troubleshooting For EZConnect format use: //hostname:1521/service_name; for tnsnames format validate parenthesis balance: grep -c '(' tnsnames.ora should equal grep -c ')' tnsnames.ora; validate tnsnames.ora: tnsping my_service; check environment: echo $ORACLE_SID; echo $TWO_TASK; test JDBC URL format: jdbc:oracle:thin:@//host:1521/service.

TNS: Connect Timeout Occurred

The Oracle client initiated a TCP connection to the listener but the connection was not completed within the configured SQLNET.INBOUND_CONNECT_TIMEOUT or the OS TCP connect timeout period.

Oracle official reference
Read more

TNS: Connect Timeout Occurred

Meaning The Oracle client initiated a TCP connection to the listener but the connection was not completed within the configured SQLNET.INBOUND_CONNECT_TIMEOUT or the OS TCP connect timeout period.

Possible causes Network routing issue causing packets to be dropped or delayed; firewall inspecting Oracle packets and introducing latency; listener overloaded and not accepting connections quickly enough; SQLNET.INBOUND_CONNECT_TIMEOUT set too low for the network characteristics; database server under heavy CPU load delaying listener response.

Troubleshooting Test basic connectivity: telnet dbhost 1521 (should connect immediately); increase connect timeout in sqlnet.ora: SQLNET.INBOUND_CONNECT_TIMEOUT=120; check listener load: lsnrctl status; verify listener log for errors: tail -100 $ORACLE_BASE/diag/tnslsnr/.../trace/listener.log; investigate firewall deep packet inspection rules for Oracle traffic; check server CPU: top | grep ora.

TNS: Operation Timed Out

An Oracle network read or write operation exceeded its configured timeout, causing the connection to be declared failed. This can occur during authentication, data transfer, or while waiting for a response.

Oracle official reference
Read more

TNS: Operation Timed Out

Meaning An Oracle network read or write operation exceeded its configured timeout, causing the connection to be declared failed. This can occur during authentication, data transfer, or while waiting for a response.

Possible causes SQLNET.RECV_TIMEOUT exceeded during a slow query result transfer; SQLNET.SEND_TIMEOUT exceeded when server is under load; network bandwidth saturation causing TCP retransmit delays; very large result sets being transferred over a slow WAN link.

Troubleshooting Tune sqlnet.ora timeouts appropriately: SQLNET.RECV_TIMEOUT=0 (disable, let OS manage) or increase to 300; SQLNET.SEND_TIMEOUT=0; reduce result set sizes: add appropriate WHERE clauses or use pagination; check network throughput: iperf3 between app and DB server; investigate server-side wait events in V$SESSION for the affected session during the timeout.

TNS: Packet Writer Failure

Oracle's TNS network layer failed to write a data packet to the connection, indicating the TCP connection has been broken from the client or an intermediate network device.

Oracle official reference
Read more

TNS: Packet Writer Failure

Meaning Oracle's TNS network layer failed to write a data packet to the connection, indicating the TCP connection has been broken from the client or an intermediate network device.

Possible causes Client application crashed or disconnected mid-operation; firewall reset the TCP connection; network interface or switch failure causing TCP RST; client-side TCP buffer exhaustion; NIC bonding/failover event causing a brief TCP disruption.

Troubleshooting Server-side, this error appears in the listener log and indicates a client-side disconnect: tail -f $ORACLE_BASE/diag/tnslsnr/.../trace/listener.log | grep TNS-12571; this is usually not a server problem β€” investigate the client side; check for patterns (same client IP, same time of day); if widespread, check for network infrastructure issues; configure SQLNET.EXPIRE_TIME for dead connection detection.

Credential Retrieval Failed

Oracle could not retrieve authentication credentials (from a wallet, Kerberos ticket, or OS authentication token) needed to complete the connection authentication.

Oracle official reference
Read more

Credential Retrieval Failed

Meaning Oracle could not retrieve authentication credentials (from a wallet, Kerberos ticket, or OS authentication token) needed to complete the connection authentication.

Possible causes Oracle Wallet not open or not found at the path specified in sqlnet.ora's WALLET_LOCATION; Kerberos ticket expired or not present; SQLNET.AUTHENTICATION_SERVICES set to (BEQ, KERBEROS5) but Kerberos is not configured; wallet password incorrect or wallet corrupted.

Troubleshooting Check wallet status: mkstore -wrl /path/to/wallet -listCredential; open auto-login wallet: orapki wallet create -wallet /wallet_path -auto_login; verify sqlnet.ora WALLET_LOCATION matches actual wallet path; for Kerberos: verify kinit -l -f krbtgt/REALM generates a valid ticket: klist; for SSL: verify certificate chain and server wallet is properly configured with TCPS listener.

Authentication Service Failed to Initialize

The authentication mechanism configured in SQLNET.AUTHENTICATION_SERVICES could not be initialized, preventing any connections from being authenticated.

Oracle official reference
Read more

Authentication Service Failed to Initialize

Meaning The authentication mechanism configured in SQLNET.AUTHENTICATION_SERVICES could not be initialized, preventing any connections from being authenticated.

Possible causes SQLNET.AUTHENTICATION_SERVICES set to NTS or KERBEROS5 but the underlying OS authentication service (Windows security or Kerberos libraries) is unavailable; oracle OS group membership not configured correctly for OS authentication; Oracle network library (ons, nns) not properly installed.

Troubleshooting Comment out or modify SQLNET.AUTHENTICATION_SERVICES in sqlnet.ora: SQLNET.AUTHENTICATION_SERVICES=(NONE); this falls back to password authentication; on Windows: verify OracleService is running and the oracle user is in the ORA_DBA group; on Linux for OS auth: verify /etc/oraInst.loc and oracle group membership; for Kerberos: verify Oracle KRB5 libraries are installed.

TNS: Unable to Connect to Destination

Oracle's TNS layer could not establish a connection to the target address specified in the connect descriptor β€” the host, port, or protocol combination is unreachable.

Oracle official reference
Read more

TNS: Unable to Connect to Destination

Meaning Oracle's TNS layer could not establish a connection to the target address specified in the connect descriptor β€” the host, port, or protocol combination is unreachable.

Possible causes Host in the connect descriptor is unreachable (routing issue, host down, wrong IP); port 1521 not open on the target host (firewall rule); TCP/IP protocol stack issue; tnsnames.ora has a valid service name but wrong host or port for the environment (e.g., using DEV host in PROD tnsnames).

Troubleshooting Test basic TCP connectivity: telnet hostname 1521; verify tnsnames.ora entry: tnsping service_name; check listener: lsnrctl status on target host; verify firewall rules: iptables -L | grep 1521 (Linux) or Windows Firewall; test with a minimal connect descriptor to isolate the issue: sqlplus user/pwd@//specific_ip:1521/service.

I/O Error β€” JDBC Network Connection Failed

The Oracle JDBC Thin driver encountered an I/O error at the network layer, typically wrapping a java.net.SocketException or java.io.IOException indicating the connection to the database was lost or could not be established.

Oracle official reference
Read more

I/O Error β€” JDBC Network Connection Failed

Meaning The Oracle JDBC Thin driver encountered an I/O error at the network layer, typically wrapping a java.net.SocketException or java.io.IOException indicating the connection to the database was lost or could not be established.

Possible causes Network interruption between the Java application server and the Oracle database; Oracle database instance crashed mid-operation; firewall or load balancer closed the TCP connection; JDBC connection pool returning a stale connection that was closed by the database or network layer.

Troubleshooting In connection pool config: set testOnBorrow=true and validationQuery='SELECT 1 FROM DUAL'; set connectionTestInterval to detect stale connections; implement retry logic: catch SQLException where getErrorCode()==17002 and retry with exponential backoff; configure Oracle JDBC reconnection: oracle.net.CONNECT_TIMEOUT=5000; oracle.jdbc.ReadTimeout=60000; check database alert log for instance events correlating with the JDBC error time.

Specified Initialization Parameter Cannot Be Modified

An ALTER SYSTEM SET command was issued for a static parameter that can only be changed in the SPFILE and requires a database restart to take effect.

Oracle official reference
Read more

Specified Initialization Parameter Cannot Be Modified

Meaning An ALTER SYSTEM SET command was issued for a static parameter that can only be changed in the SPFILE and requires a database restart to take effect.

Possible causes Static parameters like DB_BLOCK_SIZE, PROCESSES, SGA_MAX_SIZE cannot be changed with SCOPE=MEMORY; attempting ALTER SYSTEM SET processes=500 without SCOPE=SPFILE; these parameters are read only at instance startup and cannot change while the instance is running.

Troubleshooting Use SCOPE=SPFILE for static parameters: ALTER SYSTEM SET PROCESSES=500 SCOPE=SPFILE; then restart: SHUTDOWN IMMEDIATE; STARTUP; check if a parameter is static or dynamic: SELECT NAME, ISSYS_MODIFIABLE FROM V$PARAMETER WHERE NAME='processes'; ISSYS_MODIFIABLE=FALSE means SPFILE-only; plan parameter changes during maintenance windows as they require a restart.

PGA Memory Used by Instance Exceeds PGA_AGGREGATE_LIMIT

The total PGA memory used across all sessions exceeded the hard ceiling defined by PGA_AGGREGATE_LIMIT, causing Oracle to terminate the largest PGA consumers to enforce the limit.

Oracle official reference
Read more

PGA Memory Used by Instance Exceeds PGA_AGGREGATE_LIMIT

Meaning The total PGA memory used across all sessions exceeded the hard ceiling defined by PGA_AGGREGATE_LIMIT, causing Oracle to terminate the largest PGA consumers to enforce the limit.

Possible causes PGA_AGGREGATE_LIMIT set too low for the workload; many concurrent memory-intensive operations (sorts, hash joins, OLAP queries) simultaneously consuming PGA; PGA_AGGREGATE_LIMIT defaults to 2GB or 200% of PGA_AGGREGATE_TARGET β€” whichever is larger; memory leak in a PL/SQL session accumulating unbounded collection data.

Troubleshooting Increase the limit: ALTER SYSTEM SET PGA_AGGREGATE_LIMIT=8G; monitor PGA usage: SELECT SUM(PGA_ALLOC_MEM)/1024/1024 MB FROM V$PROCESS; identify top PGA consumers: SELECT s.USERNAME, p.PGA_USED_MEM/1024/1024 MB FROM V$SESSION s JOIN V$PROCESS p ON s.PADDR=p.ADDR ORDER BY p.PGA_USED_MEM DESC; tune large-sort queries to use less PGA: increase PGA_AGGREGATE_TARGET to allow better sort area sizing.

Feature Not Enabled

An Oracle feature was invoked that is not licensed or enabled in the current Oracle edition or configuration.

Oracle official reference
Read more

Feature Not Enabled

Meaning An Oracle feature was invoked that is not licensed or enabled in the current Oracle edition or configuration.

Possible causes Using partitioning features on Standard Edition; calling DBMS_RLS (VPD) on non-Enterprise edition; attempting Parallel Query with no license; using In-Memory Column Store option without purchasing the license; running Database Vault commands without the Database Vault option installed.

Troubleshooting Check licensed options: SELECT VALUE FROM V$OPTION WHERE PARAMETER='Partitioning'; SELECT * FROM V$LICENSE; review Oracle License Agreement to understand which options are included in your edition; Standard Edition 2 does not include partitioning, RAC, or In-Memory; upgrade to Enterprise Edition if the feature is required; contact Oracle licensing team to add the option license.

Cannot Find Entry to Delete in SPFILE

ALTER SYSTEM RESET parameter_name SCOPE=SPFILE failed because the parameter does not exist as an explicit entry in the SPFILE β€” it is already using the default value.

Oracle official reference
Read more

Cannot Find Entry to Delete in SPFILE

Meaning ALTER SYSTEM RESET parameter_name SCOPE=SPFILE failed because the parameter does not exist as an explicit entry in the SPFILE β€” it is already using the default value.

Possible causes Attempting to reset a parameter that was never explicitly set in the SPFILE; the parameter exists only as an implicit default; scripted parameter cleanup iterating over all parameters including those at default values.

Troubleshooting Check if parameter is explicitly set in SPFILE: SELECT NAME, VALUE, ISDEFAULT FROM V$SPPARAMETER WHERE NAME='parameter_name'; if ISDEFAULT=TRUE, the parameter does not need to be reset β€” it is already at default; the error is benign in this case; guard scripts: IF v_isdefault = 'FALSE' THEN EXECUTE IMMEDIATE 'ALTER SYSTEM RESET '||v_param||' SCOPE=SPFILE'; END IF.

Failure in Updating SPFILE

ALTER SYSTEM SET with SCOPE=SPFILE or SCOPE=BOTH failed to write the updated parameter to the SPFILE on disk.

Oracle official reference
Read more

Failure in Updating SPFILE

Meaning ALTER SYSTEM SET with SCOPE=SPFILE or SCOPE=BOTH failed to write the updated parameter to the SPFILE on disk.

Possible causes SPFILE is located on read-only filesystem; oracle user does not have write permission to the SPFILE location; SPFILE is in ASM and the ASM diskgroup is full; SPFILE has been manually locked; the path where SPFILE resides is on a full disk.

Troubleshooting Check SPFILE location: SHOW PARAMETER spfile; verify write access: ls -la $ORACLE_HOME/dbs/spfile*.ora; if in ASM: check diskgroup space: SELECT FREE_MB FROM V$ASM_DISKGROUP WHERE NAME='DATA'; if filesystem full: df -h; to work around temporarily: use SCOPE=MEMORY only and create a new SPFILE from current memory: CREATE SPFILE='/new/path/spfile.ora' FROM MEMORY; update the startup pointer.

Dynamic DDL in an invalid PL/SQL context

PL/SQL attempted to open a cursor for DDL or execute dynamic DDL with bind or output variables.

Oracle official reference
Read more

Dynamic DDL in an invalid PL/SQL context

Meaning PL/SQL attempted to open a cursor for DDL or execute dynamic DDL with bind or output variables.

Troubleshooting For DDL, use EXECUTE IMMEDIATE with the statement alone. Remove the USING or INTO clause and reserve OPEN FOR for queries.

RETURNING Clause Must Be Used with INSERT, UPDATE, or DELETE

A RETURNING ... INTO clause was used in an EXECUTE IMMEDIATE call but the SQL statement is not an INSERT, UPDATE, or DELETE β€” RETURNING is only valid with DML statements.

Oracle official reference
Read more

RETURNING Clause Must Be Used with INSERT, UPDATE, or DELETE

Meaning A RETURNING ... INTO clause was used in an EXECUTE IMMEDIATE call but the SQL statement is not an INSERT, UPDATE, or DELETE β€” RETURNING is only valid with DML statements.

Possible causes EXECUTE IMMEDIATE 'SELECT col FROM t' INTO v_var β€” this is incorrect; SELECT with INTO should not use the RETURNING syntax; developer confused RETURNING INTO (DML result capture) with the INTO clause in SELECT INTO; RETURNING INTO only works with DML that modifies rows.

Troubleshooting For DML: EXECUTE IMMEDIATE 'INSERT INTO t VALUES (:1) RETURNING id INTO :2' USING v_val RETURNING INTO v_id; for SELECT: EXECUTE IMMEDIATE 'SELECT col FROM t WHERE id=:1' INTO v_result USING v_id; remember: SELECT uses INTO, DML uses RETURNING INTO β€” syntactically different clauses used with EXECUTE IMMEDIATE.

Cannot Perform DDL, Commit, or Rollback Inside a Query or DML

A function called from within a SQL query (SELECT list, WHERE clause) attempted to perform a DDL statement, COMMIT, or ROLLBACK, which is prohibited in that context.

Oracle official reference
Read more

Cannot Perform DDL, Commit, or Rollback Inside a Query or DML

Meaning A function called from within a SQL query (SELECT list, WHERE clause) attempted to perform a DDL statement, COMMIT, or ROLLBACK, which is prohibited in that context.

Possible causes PL/SQL function called from SQL performing COMMIT inside; user-defined function in SELECT list calling EXECUTE IMMEDIATE 'TRUNCATE TABLE ...' or INSERT/UPDATE; COMMIT in a function breaks read consistency for the calling query; DDL has an implicit commit that conflicts with the calling DML context.

Troubleshooting If COMMIT is truly needed inside a function called from SQL, use PRAGMA AUTONOMOUS_TRANSACTION: CREATE OR REPLACE FUNCTION my_func RETURN NUMBER IS PRAGMA AUTONOMOUS_TRANSACTION; BEGIN ... COMMIT; RETURN val; END; however, avoid calling functions with side effects from SQL queries; restructure logic to separate query execution from DML/DDL operations.

No archive destination is available for the log

Oracle could not archive the specified redo log to an eligible destination.

Oracle official reference
Read more

No archive destination is available for the log

Meaning Oracle could not archive the specified redo log to an eligible destination.

What to check Inspect V$ARCHIVE_DEST.STATUS and ERROR, destination state and actual free space. If logs must be reclaimed, verify RMAN deletion policy, backup coverage and all required standby destinations first.

Archive gap request rejected

The FAL server declined a request for redo needed to fill a gap.

Oracle official reference
Read more

Archive gap request rejected

Meaning The FAL server declined a request for redo needed to fill a gap.

Troubleshooting Check the alert log at the supplying primary or cascading standby for the specific rejection. If manual gap resolution is needed, identify the missing thread and sequences on the standby, obtain the matching archived logs, then register the local copies on the standby.

Synchronous standby destination required

The protection configuration requires an available synchronous standby destination.

Oracle official reference
Read more

Synchronous standby destination required

Meaning The protection configuration requires an available synchronous standby destination.

What to check Check protection mode, redo transport attributes and the state of the synchronous destination before changing transport.

Primary Log Shipping Client Not Logged On Standby

The Remote File Server (RFS) process on the standby rejected the redo transport connection because the primary's shipping credentials are not authenticated.

Oracle official reference
Read more

Primary Log Shipping Client Not Logged On Standby

Meaning The Remote File Server (RFS) process on the standby rejected the redo transport connection because the primary's shipping credentials are not authenticated.

Possible causes Oracle password file on the primary and standby are out of sync; SYS password changed on primary but not replicated to standby via password file; password file was recreated on one side but not the other; DB_UNIQUE_NAME mismatch in the Data Guard configuration.

Troubleshooting Copy the primary's password file to the standby: scp $ORACLE_HOME/dbs/orapwPRIMARY standby_host:$ORACLE_HOME/dbs/orapwSTANDBY; verify DB_UNIQUE_NAME on both: SELECT DB_UNIQUE_NAME FROM V$DATABASE; check LOG_ARCHIVE_DEST_n on primary has correct DB_UNIQUE_NAME for the standby; after copying password file, restart MRP on standby: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL; ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT.

Redo transport targeted an invalid destination

Redo was sent to a destination database that cannot accept it in its current role or configuration.

Oracle official reference
Read more

Redo transport targeted an invalid destination

Meaning Redo was sent to a destination database that cannot accept it in its current role or configuration.

What to check Confirm the source and destination roles, DB_UNIQUE_NAME values and connect service. Check where that service actually routes.

Cannot Perform DDL/DML Over Objects in the Recycle Bin

An operation (INSERT, UPDATE, ALTER, CREATE INDEX) targeted an object that is currently in the Oracle Recycle Bin (prefixed with BIN$), which is not available for normal DML or DDL operations.

Oracle official reference
Read more

Cannot Perform DDL/DML Over Objects in the Recycle Bin

Meaning An operation (INSERT, UPDATE, ALTER, CREATE INDEX) targeted an object that is currently in the Oracle Recycle Bin (prefixed with BIN$), which is not available for normal DML or DDL operations.

Possible causes Application or maintenance script referencing an object by its recycle bin name (BIN$xxxxx==0); object was dropped with DROP TABLE (without PURGE) and moved to the recycle bin; trigger or synonym still pointing to the recycle bin version of an object after it was dropped.

Troubleshooting To restore the object: FLASHBACK TABLE table_name TO BEFORE DROP; to permanently remove it: PURGE TABLE table_name; to view recycle bin contents: SELECT OBJECT_NAME, ORIGINAL_NAME, OPERATION FROM DBA_RECYCLEBIN WHERE OWNER='MY_SCHEMA'; to prevent recycle bin usage: DROP TABLE t PURGE; or disable recycle bin globally: ALTER SYSTEM SET RECYCLEBIN=OFF.

Invalid PURGE option

Oracle rejected the option used with PURGE.

Oracle official reference
Read more

Invalid PURGE option

Meaning Oracle rejected the option used with PURGE.

What to check Identify the intended recycle-bin object or scope, then check the supported PURGE syntax. Confirm the target before any permanent removal.

Object absent from the recycle bin

Oracle could not find the specified recycle-bin object.

Oracle official reference
Read more

Object absent from the recycle bin

Meaning Oracle could not find the specified recycle-bin object.

What to check Check the owner, original name and generated bin name. Determine whether the object was already restored or purged.

Invalid NLS configuration parameter

Oracle encountered an unrecognized or invalid national language support setting in its initialization configuration.

Oracle official reference
Read more

Invalid NLS configuration parameter

Meaning Oracle encountered an unrecognized or invalid national language support setting in its initialization configuration.

Troubleshooting Identify the setting in the error stack. Check the parameter name, syntax, and allowed values for your database release, then correct the initialization setting.

Character Set Mismatch

An operation combined a CHAR/VARCHAR2/CLOB value with an NCHAR/NVARCHAR2/NCLOB value in a context that requires the same character set (e.g., concatenation, CASE expression, UNION).

Oracle official reference
Read more

Character Set Mismatch

Meaning An operation combined a CHAR/VARCHAR2/CLOB value with an NCHAR/NVARCHAR2/NCLOB value in a context that requires the same character set (e.g., concatenation, CASE expression, UNION).

Possible causes Concatenating VARCHAR2 || NVARCHAR2 without conversion; CASE WHEN clause returning VARCHAR2 in one branch and NVARCHAR2 in another; UNION query mixing CLOB and NCLOB columns in the same position; implicit conversion between national character set (NLS_NCHAR_CHARACTERSET) and database character set failing.

Troubleshooting Use explicit conversion: CAST(nvarchar2_col AS VARCHAR2(100)); or TO_CHAR(nvarchar2_col); or concatenate with conversion: varchar2_col || TO_CHAR(nvarchar2_col); in UNION queries: ensure both SELECT lists use the same character type in corresponding positions; verify database character sets: SELECT PROPERTY_VALUE FROM DATABASE_PROPERTIES WHERE PROPERTY_NAME IN ('NLS_CHARACTERSET','NLS_NCHAR_CHARACTERSET').

Cannot Access NLS Data Files or Invalid Environment

Oracle cannot find or access the NLS data files needed to initialize the National Language Support environment for the specified NLS_LANG setting.

Oracle official reference
Read more

Cannot Access NLS Data Files or Invalid Environment

Meaning Oracle cannot find or access the NLS data files needed to initialize the National Language Support environment for the specified NLS_LANG setting.

Possible causes NLS_LANG environment variable set to an unsupported or misspelled character set: NLS_LANG=AMERICAN_AMERICA.UTF9 (UTF9 doesn't exist); ORACLE_HOME/oracore/zoneinfo or ORACLE_HOME/nls/data directories missing or inaccessible; incomplete Oracle client installation missing NLS data files; NLS_LANG format must be: LANGUAGE_TERRITORY.CHARACTERSET.

Troubleshooting Check NLS_LANG: echo $NLS_LANG; valid format: AMERICAN_AMERICA.AL32UTF8 or ENGLISH_UNITED KINGDOM.WE8MSWIN1252; list valid character sets: ls $ORACLE_HOME/nls/data/; unset NLS_LANG to use database default: unset NLS_LANG; verify ORACLE_HOME NLS data: ls $ORACLE_HOME/nls/data/old/ should list character set files; reinstall Oracle client if NLS data files are missing.

Object Group Already Exists (Advanced Replication)

DBMS_REPCAT.CREATE_MASTER_REPGROUP or CREATE_SNAPSHOT_REPGROUP failed because a replication group with the same name already exists.

Oracle official reference
Read more

Object Group Already Exists (Advanced Replication)

Meaning DBMS_REPCAT.CREATE_MASTER_REPGROUP or CREATE_SNAPSHOT_REPGROUP failed because a replication group with the same name already exists.

Possible causes Idempotent replication setup script re-creating a repgroup that already exists from a prior partial setup; replication group name collision; running setup scripts on a database that already has replication partially configured.

Troubleshooting Check existing repgroups: SELECT GNAME, STATUS FROM DBA_REPGROUP; drop existing group if needed: DBMS_REPCAT.DROP_MASTER_REPGROUP(gname => 'MY_GROUP', drop_contents => TRUE, all_sites => FALSE); or use defensive creation: DECLARE v_count NUMBER; BEGIN SELECT COUNT(*) INTO v_count FROM DBA_REPGROUP WHERE GNAME='MY_GROUP'; IF v_count=0 THEN DBMS_REPCAT.CREATE_MASTER_REPGROUP('MY_GROUP'); END IF; END; note: Advanced Replication is deprecated in 19c+ β€” consider migrating to GoldenGate or Streams.

Queue Does Not Exist

A DBMS_AQ.ENQUEUE or DBMS_AQ.DEQUEUE operation failed because the specified queue name does not exist in the database.

Oracle official reference
Read more

Queue Does Not Exist

Meaning A DBMS_AQ.ENQUEUE or DBMS_AQ.DEQUEUE operation failed because the specified queue name does not exist in the database.

Possible causes Queue not created before messaging operations; wrong schema qualifier on the queue name (schema.queue_name); queue was dropped and not recreated after a schema migration; queue name case mismatch (AQ queue names are stored uppercase).

Troubleshooting Verify queue existence: SELECT OWNER, NAME, QUEUE_TYPE, ENQUEUE_ENABLED, DEQUEUE_ENABLED FROM DBA_QUEUES WHERE OWNER='MY_SCHEMA'; create if missing: DBMS_AQADM.CREATE_QUEUE_TABLE(queue_table=>'MY_QT', queue_payload_type=>'RAW'); DBMS_AQADM.CREATE_QUEUE(queue_name=>'MY_Q', queue_table=>'MY_QT'); DBMS_AQADM.START_QUEUE('MY_Q'); verify queue is started: STATUS should be READY not STOPPED.

Unsupported DDL on an Advanced Queuing table

The operation tries to manage an AQ table with an inappropriate DDL method.

Oracle official reference
Read more

Unsupported DDL on an Advanced Queuing table

Meaning The operation tries to manage an AQ table with an inappropriate DDL method.

What to check Identify the intended queue-table change and use the corresponding supported DBMS_AQADM procedure.

Required LogMiner log file is missing

An upstream capture cannot find a redo log needed by its LogMiner session.

Oracle official reference
Read more

Required LogMiner log file is missing

Meaning An upstream capture cannot find a redo log needed by its LogMiner session.

What to check Identify the required thread, sequence or SCN and locate the matching log for the correct database incarnation.

LogMiner reported a fatal error

LogMiner encountered a failure that requires the rest of the error stack for diagnosis.

Oracle official reference
Read more

LogMiner reported a fatal error

Meaning LogMiner encountered a failure that requires the rest of the error stack for diagnosis.

What to check Save the complete messages and inspect the input logs for this mining session. To check the database incarnation history, use SELECT incarnation#, resetlogs_id, status FROM v$database_incarnation. Match the input redo to the intended incarnation.

Missing Log File β€” LogMiner Cannot Continue

LogMiner cannot process the requested SCN range because an archived log file needed to fill a sequence gap is missing from the set of logs added to the session.

Oracle official reference
Read more

Missing Log File β€” LogMiner Cannot Continue

Meaning LogMiner cannot process the requested SCN range because an archived log file needed to fill a sequence gap is missing from the set of logs added to the session.

Possible causes Archived log was purged before LogMiner analysis was completed; log files added to the session have a sequence gap (e.g., logs 1_100 and 1_102 added but 1_101 is missing); using CONTINUOUS_MINE but FRA has purged the required archived log.

Troubleshooting Find missing logs: SELECT NAME, SEQUENCE# FROM V$ARCHIVED_LOG WHERE SEQUENCE# BETWEEN start_seq AND end_seq ORDER BY SEQUENCE#; verify which are present: SELECT * FROM V$LOGMNR_LOGS; if log is in FRA: check V$RECOVERY_FILE_DEST; restore from backup: RMAN> RESTORE ARCHIVELOG SEQUENCE n; add missing log: DBMS_LOGMNR.ADD_LOGFILE('/path/restored_1_101.arc', DBMS_LOGMNR.ADDFILE); configure sufficient archived log retention before starting LogMiner analysis sessions.

Unsupported partitioning method for this operation

The requested partition maintenance operation requires a supported range/list or composite range/list layout.

Oracle official reference
Read more

Unsupported partitioning method for this operation

Meaning The requested partition maintenance operation requires a supported range/list or composite range/list layout.

What to check Check PARTITIONING_TYPE and SUBPARTITIONING_TYPE in ALL_PART_TABLES before choosing the maintenance operation.

Duplicate Subpartition Name

A composite-partitioned table (RANGE-HASH, RANGE-LIST, etc.) CREATE TABLE or ALTER TABLE ADD PARTITION specified duplicate subpartition names within a partition definition.

Oracle official reference
Read more

Duplicate Subpartition Name

Meaning A composite-partitioned table (RANGE-HASH, RANGE-LIST, etc.) CREATE TABLE or ALTER TABLE ADD PARTITION specified duplicate subpartition names within a partition definition.

Possible causes Subpartition names must be unique across the entire table (not just within a partition); reusing the same subpartition name template across multiple partitions without making them unique; autogenerated subpartition names colliding when template-based naming is used with subpartition templates.

Troubleshooting Use globally unique subpartition names: PARTITION p_q1 VALUES LESS THAN (DATE '2024-04-01') (SUBPARTITION sp_q1_r1, SUBPARTITION sp_q1_r2), PARTITION p_q2 VALUES LESS THAN (DATE '2024-07-01') (SUBPARTITION sp_q2_r1, SUBPARTITION sp_q2_r2); use SUBPARTITION TEMPLATE to auto-generate unique names; verify existing names: SELECT SUBPARTITION_NAME FROM DBA_TAB_SUBPARTITIONS WHERE TABLE_NAME='MY_TABLE'.

Index operation on a temporary table in use

A session is using the temporary table while an index change is attempted.

Oracle official reference
Read more

Index operation on a temporary table in use

Meaning A session is using the temporary table while an index change is attempted.

What to check Identify sessions bound to the table and check whether its rows are transaction- or session-specific. Schedule DDL after those users finish.

Inconsistent tablespace clauses in a subpartition template

The Oracle Database 10g Release 2 manual documents this error when a subpartition template supplies a tablespace for some entries only.

Oracle official reference
Read more

Inconsistent tablespace clauses in a subpartition template

Meaning The Oracle Database 10g Release 2 manual documents this error when a subpartition template supplies a tablespace for some entries only.

What to check Review every subpartition in the template. Specify tablespaces consistently throughout the template or omit them throughout.

User-Defined Application Error (ORA-20000 to ORA-20999)

A PL/SQL procedure or trigger explicitly raised a user-defined application error using RAISE_APPLICATION_ERROR with an error number in the reserved range -20000 to -20999.

Oracle official reference
Read more

User-Defined Application Error (ORA-20000 to ORA-20999)

Meaning A PL/SQL procedure or trigger explicitly raised a user-defined application error using RAISE_APPLICATION_ERROR with an error number in the reserved range -20000 to -20999.

Possible causes Business validation logic in PL/SQL raising a meaningful application error; trigger detecting invalid business state; database API enforcing business rules and communicating violations to the calling application; the error message text provides the specific business reason for the failure.

Troubleshooting Read the full error message β€” it contains the application-defined reason: RAISE_APPLICATION_ERROR(-20001, 'Order amount exceeds credit limit: '||v_amount); establish a centralized error code registry in your organization (e.g., -20001 to -20099 for order errors, -20100 to -20199 for inventory errors); in calling code: EXCEPTION WHEN OTHERS THEN IF SQLCODE BETWEEN -20999 AND -20000 THEN handle_app_error(SQLCODE, SQLERRM); ELSE RAISE; END IF.

Error Number Argument to RAISE_APPLICATION_ERROR of Improper Range

The error number passed to RAISE_APPLICATION_ERROR must be in the range -20000 to -20999, but a value outside this range was supplied.

Oracle official reference
Read more

Error Number Argument to RAISE_APPLICATION_ERROR of Improper Range

Meaning The error number passed to RAISE_APPLICATION_ERROR must be in the range -20000 to -20999, but a value outside this range was supplied.

Possible causes Code using RAISE_APPLICATION_ERROR(-1, 'message') or RAISE_APPLICATION_ERROR(-30000, 'message') with an invalid range; developer unfamiliar with the reserved range; copy-paste error using an Oracle system error code instead of an application code.

Troubleshooting Only use error numbers between -20000 and -20999: RAISE_APPLICATION_ERROR(-20001, 'Validation failed: '||SQLERRM); the range -20000 to -20999 is the only user-defined range in Oracle; outside this range, use standard exception raising: RAISE NO_DATA_FOUND; or define custom exceptions with PRAGMA EXCEPTION_INIT: my_error EXCEPTION; PRAGMA EXCEPTION_INIT(my_error, -20001); RAISE my_error.

Reference to NULL Table Value

An operation (TABLE() function, COLUMN_VALUE, NESTED_TABLE_GET_REFS) attempted to access elements of a nested table or varray column that contains a NULL value (not an empty collection, but a NULL collection).

Oracle official reference
Read more

Reference to NULL Table Value

Meaning An operation (TABLE() function, COLUMN_VALUE, NESTED_TABLE_GET_REFS) attempted to access elements of a nested table or varray column that contains a NULL value (not an empty collection, but a NULL collection).

Possible causes Nested table column was never populated β€” it is NULL, not an empty initialized collection; INSERT without specifying the nested table column leaves it NULL; difference between NULL collection (no collection at all) vs. empty collection (initialized but has no elements); TABLE(NULL_COLUMN) in SELECT raises this error.

Troubleshooting Check for NULL before accessing: SELECT * FROM t, TABLE(t.nested_col) WHERE t.nested_col IS NOT NULL; or use NVL-equivalent: TABLE(NVL(t.nested_col, empty_type_constructor())); when inserting, initialize the collection: INSERT INTO t VALUES (1, my_nested_type()); not INSERT INTO t VALUES (1, NULL); validate with: SELECT COUNT(*) FROM my_table WHERE nested_col IS NULL β€” these rows will cause ORA-22908.

Overflow Error β€” Number Exceeds Maximum Representable Value

An arithmetic operation produced a result that exceeds Oracle's maximum representable NUMBER value (approximately 10^125), causing an overflow condition.

Oracle official reference
Read more

Overflow Error β€” Number Exceeds Maximum Representable Value

Meaning An arithmetic operation produced a result that exceeds Oracle's maximum representable NUMBER value (approximately 10^125), causing an overflow condition.

Possible causes Factorial calculation or recursive multiplication producing astronomically large intermediate values; POWER(very_large_base, very_large_exponent) exceeding NUMBER precision; financial calculations with incorrect scaling (e.g., interest rate applied as integer instead of fraction); bug in mathematical formula creating exponential growth.

Troubleshooting Add overflow guards: IF ABS(v_number) > 1E125 THEN RAISE_APPLICATION_ERROR(-20001,'Overflow: value too large'); END IF; use LOG() and EXP() for large power calculations to keep values manageable; validate input ranges before mathematical operations; use BINARY_DOUBLE for scientific calculations that need a wider range than Oracle NUMBER; check for divide-by-zero or near-zero divisors that can produce extreme values.

Closed Connection β€” JDBC Oracle Thin Driver

A JDBC operation was attempted on a java.sql.Connection object that has already been closed, either explicitly by the application or because the underlying Oracle session was terminated.

Oracle official reference
Read more

Closed Connection β€” JDBC Oracle Thin Driver

Meaning A JDBC operation was attempted on a java.sql.Connection object that has already been closed, either explicitly by the application or because the underlying Oracle session was terminated.

Possible causes Connection returned to pool after conn.close() but still referenced by a thread; connection pool not properly managing connection lifecycle; Oracle session killed by DBA (ALTER SYSTEM KILL SESSION) while JDBC application holds the connection object; connection object shared across threads without proper synchronization.

Troubleshooting Use try-with-resources in Java: try (Connection conn = pool.getConnection()) { ... } β€” ensures connection is closed on exit; configure pool with testOnBorrow=true and validationQuery='SELECT 1 FROM DUAL'; catch SQLException with ORA-17008 and obtain a new connection from the pool; never store Connection objects in class-level variables β€” obtain fresh from pool per request; use connection pool health checking with minEvictableIdleTimeMillis.

Closed Statement β€” JDBC Thin Driver

A JDBC PreparedStatement, CallableStatement, or Statement object was used after it had already been closed via stmt.close(), resulting in an invalid state operation.

Oracle official reference
Read more

Closed Statement β€” JDBC Thin Driver

Meaning A JDBC PreparedStatement, CallableStatement, or Statement object was used after it had already been closed via stmt.close(), resulting in an invalid state operation.

Possible causes Statement closed in a finally block and then referenced in the catch block after the finally executes; PreparedStatement cached at class level, closed by one thread and then used by another; ORM framework reusing a closed statement handle; statement closed in a cleanup method while another thread still iterating its ResultSet.

Troubleshooting Use try-with-resources: try (PreparedStatement ps = conn.prepareStatement(sql)) { ... }; never cache PreparedStatement objects in instance variables shared across threads; close statements explicitly in the correct order: ResultSet β†’ PreparedStatement β†’ Connection; use connection pool statement caching: oracle.jdbc.implicitStatementCacheSize=20 in JDBC URL; add statement.isClosed() check before reuse.

Exhausted ResultSet β€” JDBC Thin Driver

A JDBC ResultSet operation (getString, getInt, etc.) was called after all rows have been fetched β€” ResultSet.next() returned false but column access was still attempted.

Oracle official reference
Read more

Exhausted ResultSet β€” JDBC Thin Driver

Meaning A JDBC ResultSet operation (getString, getInt, etc.) was called after all rows have been fetched β€” ResultSet.next() returned false but column access was still attempted.

Possible causes Application not checking the return value of rs.next() before accessing column values; code assuming at least one row is always returned; nested ResultSet loops where outer cursor's state is confused with inner cursor's; concurrent access to a single ResultSet from multiple threads.

Troubleshooting Always check rs.next() return value: if (rs.next()) { String val = rs.getString(1); } else { /* no rows */ }; for single-row expected results: use rs.next() in an if/else, not assuming rows exist; never access column values after rs.next() returns false; for multiple rows: while (rs.next()) { processRow(rs); }; treat ORA-17011 as a programming error β€” always guard ResultSet access with next() checks.

ResultSet.next() Was Not Called β€” JDBC Thin Driver

Column values were accessed from a JDBC ResultSet before ResultSet.next() was called to position the cursor on the first row, which is invalid.

Oracle official reference
Read more

ResultSet.next() Was Not Called β€” JDBC Thin Driver

Meaning Column values were accessed from a JDBC ResultSet before ResultSet.next() was called to position the cursor on the first row, which is invalid.

Possible causes Code accessing rs.getString(1) immediately after rs = ps.executeQuery() without calling rs.next() first; ResultSet cursor starts before the first row β€” next() must be called to advance to the first row; developer confused about JDBC ResultSet positioning vs Oracle cursor model.

Troubleshooting Correct JDBC pattern: ResultSet rs = ps.executeQuery(); if (rs.next()) { String val = rs.getString("column_name"); } else { /* empty result */ }; a freshly executed ResultSet is positioned before the first row β€” always call next() before any column access; use rs.getRow() to check current position; for scrollable ResultSets: rs.first() or rs.absolute(1) to position at the first row.

Protocol Violation β€” JDBC Thin Driver

The Oracle JDBC Thin driver received an unexpected or malformed packet from the Oracle server, indicating the TNS protocol was violated, typically due to a network corruption or version mismatch.

Oracle official reference
Read more

Protocol Violation β€” JDBC Thin Driver

Meaning The Oracle JDBC Thin driver received an unexpected or malformed packet from the Oracle server, indicating the TNS protocol was violated, typically due to a network corruption or version mismatch.

Possible causes Network device (firewall, load balancer, SSL terminator) modifying Oracle TNS packets; JDBC Thin driver version significantly different from server version; corrupt network packet from a TCP retransmission; Oracle server crashing mid-response and sending a malformed termination packet.

Troubleshooting Upgrade JDBC driver to match server version: use ojdbc8.jar for Oracle 19c; verify no network appliance is modifying Oracle traffic: test with direct connection bypassing LB/firewall; check server alert log for crashes coinciding with ORA-17401 occurrence; add JDBC connection URL parameter: oracle.net.DISABLE_OOB=true to disable out-of-band breaks that can confuse some network devices.

No Snapshot Found Based on Specified Time

A Flashback Query (SELECT ... AS OF TIMESTAMP) or AS OF SCN query cannot find undo data going back to the specified point in time, because the undo for that timestamp has been overwritten.

Oracle official reference
Read more

No Snapshot Found Based on Specified Time

Meaning A Flashback Query (SELECT ... AS OF TIMESTAMP) or AS OF SCN query cannot find undo data going back to the specified point in time, because the undo for that timestamp has been overwritten.

Possible causes Flashback query target time is older than the oldest available undo snapshot; UNDO_RETENTION parameter too low to preserve undo back to the requested point; undo tablespace pressure caused old undo to be overwritten before UNDO_RETENTION expired; requesting a timestamp more than UNDO_RETENTION seconds in the past.

Troubleshooting Check how far back undo extends: SELECT MIN(BEGIN_TIME), MAX(END_TIME), AVG(UNDOBLKS) FROM V$UNDOSTAT; increase UNDO_RETENTION: ALTER SYSTEM SET UNDO_RETENTION=86400 (24 hours); enable GUARANTEE: ALTER TABLESPACE UNDOTBS1 RETENTION GUARANTEE; for longer flashback windows use Flashback Data Archive: CREATE FLASHBACK ARCHIVE my_archive TABLESPACE users QUOTA 10G RETENTION 1 YEAR; ALTER TABLE my_table FLASHBACK ARCHIVE my_archive.

This Database Instance Failed to Turn On Flashback

ALTER DATABASE FLASHBACK ON failed because Oracle could not enable Flashback Database logging due to a configuration or resource issue.

Oracle official reference
Read more

This Database Instance Failed to Turn On Flashback

Meaning ALTER DATABASE FLASHBACK ON failed because Oracle could not enable Flashback Database logging due to a configuration or resource issue.

Possible causes DB_RECOVERY_FILE_DEST (FRA) not configured; FRA is too small to hold flashback logs; database not in ARCHIVELOG mode (required for Flashback Database); insufficient disk space in the FRA path; FRA path permissions incorrect for oracle user.

Troubleshooting Ensure ARCHIVELOG mode is enabled; configure FRA: ALTER SYSTEM SET DB_RECOVERY_FILE_DEST='/fra' SCOPE=BOTH; ALTER SYSTEM SET DB_RECOVERY_FILE_DEST_SIZE=100G SCOPE=BOTH; then enable flashback: ALTER DATABASE FLASHBACK ON; verify: SELECT FLASHBACK_ON FROM V$DATABASE; minimum FRA size should be several times DB_FLASHBACK_RETENTION_TARGET Γ— redo generation rate; monitor FRA usage: SELECT * FROM V$FLASH_RECOVERY_AREA_USAGE.

Flashback Database needs redo for an SCN range

The recovery phase of Flashback Database could not read all the redo needed between the two reported SCNs.

Oracle official reference
Read more

Flashback Database needs redo for an SCN range

Meaning The recovery phase of Flashback Database could not read all the redo needed between the two reported SCNs.

What to check Locate the relevant redo threads and sequences and check alternate copies or backups. Restore access to the required redo before resuming the planned flashback operation.

DROP TABLE targeted a materialized view

Oracle identified the named object as a materialized view during a drop operation.

Oracle official reference
Read more

DROP TABLE targeted a materialized view

Meaning Oracle identified the named object as a materialized view during a drop operation.

What to check Check the owner and object type. If removal is intended, review dependencies and use DROP MATERIALIZED VIEW on the verified object.

Object does not support the requested SHRINK

The object named in the statement is ineligible for that SHRINK operation.

Oracle official reference
Read more

Object does not support the requested SHRINK

Meaning The object named in the statement is ineligible for that SHRINK operation.

What to check Check its object and segment type and release-specific restrictions. ORA-10636 separately identifies a missing row-movement setting.

Distributed query selects LONG values from different sites

The query selects LONG columns from tables that are not all located at the same database.

Oracle official reference
Read more

Distributed query selects LONG values from different sites

Meaning The query selects LONG columns from tables that are not all located at the same database.

What to check Identify which site owns each LONG column. Retrieve the LONG values at their owning site or restructure the query to keep the relevant tables together.

Cannot SET Transaction Characteristics in a Distributed Transaction

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE or SET TRANSACTION READ ONLY was issued but the session already has an active distributed transaction (involving a DB link) that has incompatible transaction characteristics.

Oracle official reference
Read more

Cannot SET Transaction Characteristics in a Distributed Transaction

Meaning SET TRANSACTION ISOLATION LEVEL SERIALIZABLE or SET TRANSACTION READ ONLY was issued but the session already has an active distributed transaction (involving a DB link) that has incompatible transaction characteristics.

Possible causes SQL spanning multiple databases via DB links makes serializable isolation difficult to enforce globally; SET TRANSACTION must be the first statement in a transaction β€” if a DB link query already started the distributed transaction, SET TRANSACTION will fail; application architecture mixing distributed transactions with serializable isolation.

Troubleshooting SET TRANSACTION characteristics must be set before the first DML or query in the transaction: SET TRANSACTION ISOLATION LEVEL SERIALIZABLE; (first statement, before any DB link queries); restructure application to not mix distributed DB link operations with serializable transactions; use READ COMMITTED isolation for distributed transactions which is compatible with cross-database queries; or eliminate the need for serializable isolation through application-level conflict detection.

Distributed update requires rollback

A failed distributed update may have left parts of the statement applied at different sites.

Oracle official reference
Read more

Distributed update requires rollback

Meaning A failed distributed update may have left parts of the statement applied at different sites.

What to check Roll back to a savepoint established before the operation, or roll back the transaction. Investigate the original error before resubmitting. If a two-phase commit is also in doubt, reconcile its outcome with the participating sites.

Specified Resource Manager Plan Does Not Exist

ALTER SYSTEM SET RESOURCE_MANAGER_PLAN or a Resource Manager API call referenced a plan that does not exist in DBA_RSRC_PLANS.

Oracle official reference
Read more

Specified Resource Manager Plan Does Not Exist

Meaning ALTER SYSTEM SET RESOURCE_MANAGER_PLAN or a Resource Manager API call referenced a plan that does not exist in DBA_RSRC_PLANS.

Possible causes Resource plan name typo; plan was dropped between the time of configuration and when it was activated; attempting to activate a plan pending submission (not yet validated); plan exists in a different CDB/PDB context.

Troubleshooting List existing plans: SELECT PLAN, STATUS FROM DBA_RSRC_PLANS; verify plan is active (not pending): STATUS='ACTIVE'; to submit a pending plan: DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA; to activate: ALTER SYSTEM SET RESOURCE_MANAGER_PLAN='MY_PLAN'; recreate if missing: DBMS_RESOURCE_MANAGER.CREATE_PENDING_AREA; DBMS_RESOURCE_MANAGER.CREATE_PLAN('MY_PLAN','Description'); DBMS_RESOURCE_MANAGER.SUBMIT_PENDING_AREA; then activate.

Resource plan omits OTHER_GROUPS

The proposed Resource Manager plan has no directive for the OTHER_GROUPS consumer group.

Oracle official reference
Read more

Resource plan omits OTHER_GROUPS

Meaning The proposed Resource Manager plan has no directive for the OTHER_GROUPS consumer group.

What to check Inspect the plan directives and include a suitable OTHER_GROUPS directive before validating the plan.

Parameter requires a positive value

The operation received a parameter value outside its positive range.

Oracle official reference
Read more

Parameter requires a positive value

Meaning The operation received a parameter value outside its positive range.

What to check Use the parameter name in the message to inspect the submitted value. Supply a positive value valid for that parameter.

Unified Audit Policy Does Not Exist

An AUDIT POLICY, NOAUDIT POLICY, or DROP AUDIT POLICY statement referenced a unified audit policy that does not exist in the database.

Oracle official reference
Read more

Unified Audit Policy Does Not Exist

Meaning An AUDIT POLICY, NOAUDIT POLICY, or DROP AUDIT POLICY statement referenced a unified audit policy that does not exist in the database.

Possible causes Policy name typo; policy was dropped before being disabled; attempting to reference a traditional audit policy using the new unified audit syntax; policy exists in a different PDB in a CDB environment.

Troubleshooting List existing unified audit policies: SELECT POLICY_NAME, ENABLED_OPT, USER_NAME FROM AUDIT_UNIFIED_ENABLED_POLICIES; check all policies (enabled and disabled): SELECT POLICY_NAME FROM AUDIT_UNIFIED_POLICIES; create missing policy: CREATE AUDIT POLICY my_policy ACTIONS SELECT ON hr.employees, INSERT ON hr.employees; enable it: AUDIT POLICY my_policy; in CDB: unified audit policies are PDB-local β€” ensure you are connected to the correct PDB.

Unified Audit Policy Already Exists

CREATE AUDIT POLICY failed because a unified audit policy with the same name already exists in the current database or PDB.

Oracle official reference
Read more

Unified Audit Policy Already Exists

Meaning CREATE AUDIT POLICY failed because a unified audit policy with the same name already exists in the current database or PDB.

Possible causes Idempotent audit policy setup script not checking existence; policy created in a previous deployment attempt that failed partway through; re-running database hardening scripts that create audit policies without first checking if they exist.

Troubleshooting Use defensive policy creation: DECLARE v_cnt NUMBER; BEGIN SELECT COUNT(*) INTO v_cnt FROM AUDIT_UNIFIED_POLICIES WHERE POLICY_NAME='MY_POLICY'; IF v_cnt=0 THEN EXECUTE IMMEDIATE 'CREATE AUDIT POLICY my_policy ACTIONS SELECT ON hr.employees'; END IF; END; or drop and recreate: BEGIN EXECUTE IMMEDIATE 'DROP AUDIT POLICY my_policy'; EXCEPTION WHEN OTHERS THEN NULL; END; EXECUTE IMMEDIATE 'CREATE AUDIT POLICY my_policy ACTIONS ...'.

Internal Data Pump error

A Data Pump component reported an internal failure.

Oracle official reference
Read more

Internal Data Pump error

Meaning A Data Pump component reported an internal failure.

What to check Preserve the job log and complete error stack. Identify the first specific error and collect the trace if the failure recurs.

Invalid Data Pump operation

The requested Data Pump API operation is invalid for the job or its current context.

Oracle official reference
Read more

Invalid Data Pump operation

Meaning The requested Data Pump API operation is invalid for the job or its current context.

What to check Check the job handle, state, operation order and accompanying messages. With the API, retrieve job status for more detail.

Unexpected exception in the Data Pump master process

The Data Pump master process raised an exception that it could not handle.

Oracle official reference
Read more

Unexpected exception in the Data Pump master process

Meaning The Data Pump master process raised an exception that it could not handle.

What to check Read the accompanying error and job log. Preserve the master table and trace so the job can be diagnosed.

Worker Unexpected Fatal Error β€” Data Pump Job Aborted

One of the Data Pump worker processes encountered an unrecoverable fatal error and terminated, causing the entire Data Pump job to abort.

Oracle official reference
Read more

Worker Unexpected Fatal Error β€” Data Pump Job Aborted

Meaning One of the Data Pump worker processes encountered an unrecoverable fatal error and terminated, causing the entire Data Pump job to abort.

Possible causes ORA-03113 (connection lost) to a remote database during network-linked export/import; out of memory error in a worker process; Oracle internal error (ORA-00600) in a worker; I/O error writing the dump file; insufficient temp space for a worker's sort operation.

Troubleshooting Check the Data Pump log file for the specific error preceding ORA-39126; check the alert log for associated ORA-600 or ORA-07445; if network link failure: verify the DB link is stable and retry: expdp ATTACH=job_name CONTINUE_CLIENT; for memory issues: increase PGA_AGGREGATE_TARGET; for dump file I/O: check filesystem space: df -h /dump_dir; increase PARALLEL count gradually to identify if a specific worker is failing.

ORA Error Troubleshooter

Read a simulated incident and choose the first check you would make on call.

DBA practice terminal