Oracle11.2.0.1.0 create physical standby on Windows XP through RMAN

Source: Internet
Author: User
Oracle11.2.0.1.0 use RMAN to create physical standby on Windows XP and add StandbyRedoLog to the master database. Oracle recommends StandbyRedoLog size and Onli

Oracle 11.2.0.1.0 uses RMAN to create physical standby on Windows XP and add Standby Redo Log to the master database. Oracle recommends Standby Redo Log size and Onli

0. Summary

Oracle version: 32-bit Oracle Database 11.2.0.1.0

OS Version: 32-bit WinXP SP3

Primary database SID: primary

Slave database SID: standby

Advantage: Using RMAN to create a mongouard does not require the master database to go down, which is relatively simple to implement.

1. DBCA creates a master database with SID primary

2. Enable the archive mode of the master database

C: \> set oracle_sid = primary

C: \> sqlplus/as sysdba

SQL * Plus: Release 11.2.0.1.0 Production on Sunday June 17 15:09:39 2012

Copyright (c) 1982,201 0, Oracle. All rights reserved.


Connect:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> select log_mode from v $ database;

LOG_MODE
------------------------
NOARCHIVELOG

SQL> shutdown immediate;
The database has been closed.
The database has been detached.
The ORACLE routine has been disabled.
SQL> startup mount;
The ORACLE routine has been started.

Total System Global Area 313860096 bytes
Fixed Size 1374304 bytes
Variable Size 138413984 bytes
Database Buffers 167772160 bytes
Redo Buffers 6299648 bytes
The database has been loaded.
SQL> alter database archivelog;

The database has been changed.

SQL> select log_mode from v $ database;

LOG_MODE
------------------------
ARCHIVELOG

SQL> alter database open;

The database has been changed.

SQL>


3. Enable forced Logging

SQL> ALTER DATABASE FORCE LOGGING;

The database has been changed.

SQL>

,

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.