My Oracle Support Banner

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

Last updated on NOVEMBER 08, 2024

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

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
Symptoms
Changes
Cause
Solution
 Applies to:


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.