SQL> alter database open read write;
alter database open read write
*
ERROR at line 1:
ORA-16003: standby database is restricted to read-only access
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 3221222464 bytes
Fixed Size 8901696 bytes
Variable Size 771751936 bytes
Database Buffers 2432696320 bytes
Redo Buffers 7872512 bytes
SQL> alter database mount standby database;
Database altered.
SQL> alter database activate standby database;
Database altered.
SQL> shutdown immediate;
ORA-01109: database not open
Database dismounted.
ORACLE instance shut down.
SQL> startup open;
ORACLE instance started.
Total System Global Area 3221222464 bytes
Fixed Size 8901696 bytes
Variable Size 771751936 bytes
Database Buffers 2432696320 bytes
Redo Buffers 7872512 bytes
Database mounted.
Database opened.
SQL> select open_mode from v$database;
OPEN_MODE
--------------------
READ WRITE
SQL>