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

How to realize the switch of ORACLE DataGuard standby mode

2025-02-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article introduces you how to achieve ORACLE DataGuard standby mode switching, the content is very detailed, interested friends can refer to, hope to be helpful to you.

Prepare the library mode classification:

1. Automatic management mode

two。 Manual management mode (can do data file addition and renaming operations)

3. Read-only mode

View the current mode of the slave database:

Select * from dba_ojbects

If you can view: in read-only mode

If you can't view it: for administrative mode

To switch from administrative mode to read-only mode:

Alter database recover managed standby database cancel

Alter database open read only

To switch from read-only mode to administrative mode:

Alter database recover managed standby database disconnect from session

Administrative mode view:

Show parameter standby_file_management

AUTO: automatic

MANUAL: manual

Toggle:

Alter system set standby_file_management='MANAUAL'

Alter system set standby_file_management='AUTO'

On how to achieve ORACLE DataGuard standby mode switch to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

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

Servers

Wechat

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

12
Report