Alter Pluggable Database...Instances=ALL Doesn't Work for Remote RAC Instances (Doc ID 2056995.1)

Last updated on SEPTEMBER 26, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Information in this document applies to any platform.
<

Symptoms

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;

For example:

SQL> select inst_id, open_mode from gv$pdbs where name='PDB1';

  INST_ID OPEN_MODE  
---------- ----------
        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
---------- ---------- ---
        1 MOUNTED
        2 READ WRITE                        <----- didn't close PDB on 2nd instance

 

Changes

 May have changed Parallel Query (PQ) related parameters.

Cause

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