Beruflich Dokumente
Kultur Dokumente
------------------------------------------------
SHUTDOWN:
Once you are done finished creating standby databas
e run following query on Standby to check
current processes running using provided dynamic vi
ew.
SQL> SELECT PROCESS, STATUS FROM V$MANAGED_STANDBY;
PROCESS STATUS
--------- ------------
ARCH CONNECTED
ARCH CONNECTED
MRP0 WAIT_FOR_LOG
RFS IDLE
Find out if the standby database is performing mana
ged recovery. If the MRP0 or MRP process
exists, then the standby database is performing man
aged recovery.
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABAS
E CANCEL;
Database altered.
Check process status again to conform if MRP (Manag
ed Recovery Process) is killed.
SQL> SELECT PROCESS, STATUS FROM V$MANAGED_STANDBY;
PROCESS STATUS
--------- ------------
ARCH CONNECTED
ARCH CONNECTED
RFS IDLE
Shutdown database (Never use Abort with SHUTDOWN):
SQL> SHUTDOWN IMMEDIATE;
STARTUP:
- If both the primary and standby databases are off
line, then always (if possible) start the
standby database before starting the primary databa
se.
- After the database is started, mount the database
as a standby database. Once it is
mounted, the database can receive archived redo dat
a from the primary database.
- You then have the option of either starting a man
aged recovery operation or opening the
database for read-only access. Typically, you start
a managed recovery operation. The
following example shows how to start a standby data
base:
Start the database:
-