Apparently, the error :
< br />
in my previous post was a spurious error.
I am able to access the PDB in the Standby. Thus :
Thus, the PDB on the Standby *does* OPEN READ ONLY and I can see the data that had been populated from the Primary.
.
.
.
< br />
alter pluggable database pdb open * ERROR at line 1: ORA-44309: unknown failure ORA-44777: Pluggable database service cannot be started.
in my previous post was a spurious error.
I am able to access the PDB in the Standby. Thus :
[oracle@oem132 ~]$ . oraenv ORACLE_SID = [STBY] ? STBY The Oracle base remains unchanged with value /u01/app/oracle [oracle@oem132 ~]$ sqlplus '/ as sysdba' SQL*Plus: Release 12.1.0.2.0 Production on Sun Apr 9 15:57:27 2017 Copyright (c) 1982, 2014, Oracle. All rights reserved. Connected to an idle instance. SQL> startup nomount; ORACLE instance started. Total System Global Area 838860800 bytes Fixed Size 2929936 bytes Variable Size 230689520 bytes Database Buffers 599785472 bytes Redo Buffers 5455872 bytes SQL> alter database mount standby database; Database altered. SQL> rem here I notice the alert log showing : SQL> rem ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT NODELAY SQL> rem Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT NODELAY SQL> recover managed standby database cancel; Media recovery complete. SQL> rem I cancel the automatic recovery as I do not want to run Active Data Guard SQL> alter database open read only; Database altered. SQL> alter pluggable database pdb open; alter pluggable database pdb open * ERROR at line 1: ORA-44309: unknown failure ORA-44777: Pluggable database service cannot be started. SQL> SQL> select con_id, name, open_mode, open_Time from v$pdbs; CON_ID NAME OPEN_MODE ---------- ------------------------------ ---------- OPEN_TIME --------------------------------------------------------------------------- 2 PDB$SEED READ ONLY 09-APR-17 04.00.48.232 PM +08:00 3 PDB READ ONLY 09-APR-17 04.00.59.105 PM +08:00 SQL> SQL> exit Disconnected from Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options [oracle@oem132 ~]$ sqlplus hemant/hemant@PDB SQL*Plus: Release 12.1.0.2.0 Production on Sun Apr 9 16:02:02 2017 Copyright (c) 1982, 2014, Oracle. All rights reserved. Last Successful login time: Mon Apr 03 2017 22:49:41 +08:00 Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options SQL> select table_name from user_tables; TABLE_NAME -------------------------------------------------------------------------------- MY_DATA SQL> select count(*) from my_data; COUNT(*) ---------- 100 SQL> show con_id; CON_ID ------------------------------ 3 SQL>
Thus, the PDB on the Standby *does* OPEN READ ONLY and I can see the data that had been populated from the Primary.
.
.
.
No comments:
Post a Comment