Protection_mode is unprotected at standby Database Analysis

Source: Internet
Author: User

Database Version

SQL> select * from V $ version;

 

Banner

Slave --------------------------------------------------------------------------------------------------------------------------------

Oracle Database 10g Enterprise Edition Release 10.2.0.1.0-64bi

PL/SQL release 10.2.0.1.0-Production

Core 10.2.0.1.0 Production

TNS for Linux: Version 10.2.0.1.0-Production

Nlsrtl version 10.2.0.1.0-Production

 

1. Problem description (Data guard adopts the maximum performance mode, but the protection_mode of the standby database is unprotected ?)

Master Database

SQL> select database_role, open_mode, protection_mode from V $ database;

 

Database_role open_mode protection_mode

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

Primary read writeMaximum performance

 

Slave Database

SQL> select database_role, open_mode, protection_mode from V $ database;

 

Database_role open_mode protection_mode

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

Physical standby mountedUnprotected

 

2. Problem Description

The slave database logs are normally used. The master database performs DML operations. You can also see the DML results when the slave database read is only enabled. It indicates that this data guard is correct. But why does the protection_mode of the standby database appear?UnprotectedWhat about it? With the help of a friend, I found the following description about the problem:

 

Maximize_standby_db_clause

Use this clause to specify the level of protection for the data in your database environment. You specify this clause from the primary database, which must be mounted but not open.

Note:

The protected and unprotected keywords have
Been replaced for clarity but are still supported. Protected is equivalent to maximize protection. Unprotected is
Equivalent to maximize performance.

Official link: http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_1004.htm#SQLRF00802

 

3. Problem Analysis

According to the explanation of the official document:

Protected = to maximize protection

Unprotected = to maximize performance

This makes it easy to see that in data guard, protection_mode = unprotected does not have any problems at all, except that it is called unprotected as another way of maximize performance.

 

4. Conclusion:

Protected = to maximize protection

Unprotected = to maximize performance

Some key parameter understanding problems. The best solution is to find the Oracle official file.

 

Finally, you can go to bed with peace of mind. To solve one problem every day is to make progress.

Link: http://space.itpub.net/26442936/viewspace-750323

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.