Skip to content

ALTER PLUGGABLE DATABASE OPEN RESETLOGS INSTANCES=ALL Fails with ORA-65107 and ORA-29318

SYMPTOMS

ALTER PLUGGABLE DATABASE <pdb-name> OPEN RESETLOGS with INSTANCES=ALL fails with the following errors.SQL> ALTER PLUGGABLE DATABASE <pdb-name> OPEN RESETLOGS INSTANCES=ALL;
*
ERROR at line 1:
ORA-65107: Error encountered when processing the current task on instance:2
ORA-29318: datafile 1015 is online

CAUSE

When opening the PDB with RESETLOGS in the RAC environment, it can be executed with only one instance.

SOLUTION

run ALTER PLUGGABLE DATABASE <pdb-name> OPEN RESETLOGS without INSTANCES= clause.ALTER PLUGGABLE DATABASE <pdb-name> OPEN RESETLOGS;

In Release 12.2 and later, ALTER PLUGGABLE DATABASE <pdb-name> OPEN RESETLOGS INSTANCES=ALL fails with ORA-39896.ORA-39896: INSTANCES clause and RESETLOGS keyword cannot be used together in ALTER PLUGGABLE DATABASE command

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: