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