When closing a cloned PDB in 19.3, I am receiving the following errors:
ORA-65107: Error encountered when processing the current task on instance:1
ORA-16078: media recovery disabled
This may exist in 12.2 or 18c, but I skipped those versions. If anyone has info if this is an issue in the versions I skipped, comment below.
I tracked this down the fact that I’m closing the cloned PDB with ABORT. If I close IMMEDIATE, I do not get the error. Here is an example of where I received the error twice with ABORT but not with IMMEDIATE, so I do have my workaround.
SQL> alter pluggable database dba1 close abort instances=all;
alter pluggable database dba1 close abort instances=all
*
ERROR at line 1:
ORA-65107: Error encountered when processing the current task on instance:1
ORA-16078: media recovery disabled
SQL> alter pluggable database dba1 close immediate instances=all;
Pluggable database altered.
SQL> alter pluggable database dba1 open instances=all;
Pluggable database altered.
SQL> alter pluggable database dba1 close abort instances=all;
alter pluggable database dba1 close abort instances=all
*
ERROR at line 1:
ORA-65107: Error encountered when processing the current task on instance:1
ORA-16078: media recovery disabled
SQL> alter pluggable database dba1 close immediate instances=all;
Pluggable database altered.