Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if the data file is added to the table space of the main database in DataGuard, and the standby database cannot create an error report ORA-01274?

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

Editor to share with you in the DataGuard main database table space new data files, standby database can not create error ORA-01274 how to do, I hope you will gain something after reading this article, let's discuss it together!

Problem description

Main library environment:

Oracle 11.2.0.4 single instance ASM

Prepare the library environment:

Oracle 11.2.0.4 single instance file system

The main database adds a data file to a tablespace, and the following error occurs in the slave database alert log:

Unable to add the data file

Analyze and locate the problem

Query related parameters such as DG data file conversion in the repository.

This parameter is set normally for AUTO-> in standby_file_management slave library.

The parameter of db_file_name_convert, which is also configured for file conversion between master and slave libraries, and is set normally.

Db_create_file_dest is + DATA à. Normally, the slave library does not need to configure this parameter, so it is speculated that this parameter is the cause of the problem (this conjecture is verified by testing in the local environment)

Solution

According to the above situation, two problems need to be solved.

(1) one is a new data file that has been created by the main database, but if an error is reported in the slave database, you need to modify the data file to be normal.

a. Change standby_file_management to MANUAL

b. Query the error path of the data file with the current problem in the standby database.

Select name from v$datafile where name like'% UNNAME%'

c. According to the queried directory, manually modify the data file to the normal directory and set standby_file_management to MANUAL-- > AUTO

(2) modify the db_create_file_dest parameter to be empty to prevent similar problems in the future

Alter system set db_create_file_dest =''

After reading this article, I believe you have a certain understanding of "DataGuard main database table space new data files, standby database can not create error ORA-01274" have a certain understanding, if you want to know more related knowledge, welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report