"ORACLE" DG Performance conversion (11g)

Source: Internet
Author: User

One, maximum performance conversion to maximum available

Confirm the main Library mode:

[Email protected] hey~2->select protection_mode,protection_level from V$database;

Protection_mode Protection_level
-------------------- --------------------
MAXIMUM Performance MAXIMUM Performance

Confirm the Standby mode:

[Email protected] hey~1->select name,protection_mode,database_role,switchover_status from V$database;

NAME Protection_mode Database_role Switchover_status
--------- -------------------- ---------------- --------------------
ENMO1 MAXIMUM Performance Physical STANDBY to PRIMARY

Modify parameters: Alter system set log_archive_dest_2= ' Service=enmo2 ASYNC valid_for= (online_logfiles,primary_role) Db_unique_name=enmo2 ';

Database altered.

Mode conversion

[Email protected] Hey~1->alter database set standby database to maximize availability;

Database altered.

Main Library Confirmation Mode:

[Email protected] hey~2->select name,protection_mode,database_role,switchover_status from V$database;

NAME Protection_mode Database_role Switchover_status
--------- -------------------- ---------------- --------------------
ENMO1 MAXIMUM Availability Physical STANDBY to STANDBY

Standby Confirm mode:

[Email protected] hey~1->select name,protection_mode,database_role,switchover_status from V$database;

NAME Protection_mode Database_role Switchover_status
--------- -------------------- ---------------- --------------------
ENMO1 MAXIMUM Availability Physical STANDBY not allowed

Second, maximum available switch to maximum protection

[Email protected] Hey~1->alter database set standby database to maximize protection;

Database altered.

[Email protected] hey~1->select name,protection_mode,database_role,switchover_status from V$database;

NAME Protection_mode Database_role Switchover_status
--------- -------------------- ---------------- --------------------
ENMO1 MAXIMUM PROTECTION physical STANDBY to STANDBY

"ORACLE" DG Performance conversion (11g)

Related Article

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.