Create a physical oracle9i standby database on a stand-alone computer

Source: Internet
Author: User

Description: The data Guard characteristics of the Oracle9i database ensure the complete protection of the information, which is one of the key features of Oracle 9i. The data Guard can create a physical standby database, or create a logical standby database, and can be mixed, and with greater flexibility. This document is the Fenng practice time to write down things, not to mention what the experience. * It's just a note from the installation process * If you have higher expectations for this, or want more information about the Oracle database data guard and Standby, please refer to the official documentation.

System Environment: Windows 2000 Professional Edition SP3 512M memory

Existing database instance (Primary) name: Demo

Pre-created Standby database instance name: Pstandby

Database version information:

Sql> select * from V$version;

BANNER

----------------------------------------------------------------

Oracle9i Enterprise Edition Release 9.2.0.1.0-production

Pl/sql Release 9.2.0.1.0-production

CORE 9.2.0.1.0 Production

TNS for 32-bit windows:version 9.2.0.1.0-production

Nlsrtl Version 9.2.0.1.0-production

Preparatory work

First verify that the primary database is in archive mode

Sql> Show User

USER is "SYS"

Sql>

Sql> Archive Log List

Database Log Mode Archive mode

Automatic Archival Enabled

Archive Destination D:\oracle\oradata\demo\archive

Oldest online log sequence 42

Next Log sequence to archive 44

Current Log Sequence 44

If you are not in archive mode, adjust the database.

First commit the command to modify the SPFile:

Sql>alter system set Log_archive_start=true scope=spfile;

Then close the database instance

Sql>shutdown

Backing up a database

Sql>startup MOUNT

Sql>alter DATABASE Archivelog;

Sql>alter DATABASE OPEN;

Sql>shutdown IMMEDIATE

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.