Alter Pluggable Database...Instances=ALL Doesn't Work for Remote RAC Instances
Last updated on SEPTEMBER 26, 2015
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms