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

USING CURRENT LOGFILE has been

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

Share

Shulou(Shulou.com)06/01 Report--

1. Oracle 19c alarm log

2020-01-19 20-20-40-40-26. 193000 + 08:00Warning: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE has been deprecated.Warning: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING CURRENT LOGFILE has been deprecated.alter database recover managed standby database using current logfile disconnect from session

The alarm indicates that USING CURRENT LOGFILE has been abandoned. Fortunately, many of the commands in Oracle are backward compatible, and there will be no problem according to the original way of execution.

II. Methods of use of official documents

To start apply services on a physical standby database, ensure the physical standby database is started and mounted and then start Redo Apply.Start apply services on a physical standby database as follows:SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;This also automatically enables real-time apply provided the standby database is configured with a standby redo log and is in ARCHIVELOG mode.-- automatically starts the real-time application after Oracle 12c, and the repository needs to be configured with standby redo log and archive log opened. Redo Apply can be run either as a foreground session or as a background process. To start Redo Apply in the foreground, issue the following SQL statement:SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE;If you start a foreground session, control is not returned to the command prompt until recovery is canceled by another session.To start Redo Apply in the background, include the DISCONNECT keyword on the SQL statement. For example:SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;-- use the above commands to start the real-time application process later, and you can type fewer commands, which is good. OrSQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE USING ARCHIVED LOGFILE DISCONNECT;This statement starts a detached server process and immediately returns control to the user. While the managed recovery process is performing recovery in the background, the foreground process that issued the RECOVER statement can continue performing other tasks. This command does not disconnect the current SQL session.

III. Summary

1. If you look at the alarm log of the database when you are not too busy, there will always be new discoveries.

2. It is good to read the official documents for half an hour every day, especially the new version of the documents, and to learn more English.

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