Alter Pluggable Database...Instances=ALL Doesn't Work for Remote RAC Instances
(Doc ID 2056995.1)
Last updated on AUGUST 26, 2021
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 and later
Information in this document applies to any platform.
Following commands to open or close PDB across all instances in RAC only works on local instance, but not working for remote instances. The command doesn't even show up in remote instance alert log.
alter pluggable database <PDB_NAME> close immediate instances=ALL;
alter pluggable database <PDB_NAME> open instances=ALL;
SQL> select inst_id, open_mode from gv$pdbs where name='PDB1';
1 READ WRITE
2 READ WRITE
On Instance 1:
SQL> alter pluggable database PDB1 close immediate instances=ALL;
Pluggable database altered.
SQL> select inst_id, open_mode from gv$pdbs where name='PDB1' order by 1;
INST_ID OPEN_MODE RES
---------- ---------- ---
2 READ WRITE <----- didn't close PDB on 2nd instance
May have changed Parallel Query (PQ) related parameters.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document