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 switch oracle 10g physical standby

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article introduces you how to switch oracle 10g physical standby, the content is very detailed, interested friends can refer to, hope to be helpful to you.

Primary library operation:

SQL > select name,open_mode,protection_mode,database_role from v$database

NAME OPEN_MODE PROTECTION_MODE DATABASE_ROLE

--

YGH READ WRITE MAXIMUM PERFORMANCE PRIMARY

SQL > alter database commit to switchover to physical standby with session shutdown

Database altered.

SQL > shutdown immediate

ORA-01507: database not mounted

ORACLE instance shut down.

SQL > startup nomount

ORACLE instance started.

Total System Global Area 264241152 bytes

Fixed Size 1218868 bytes

Variable Size 88082124 bytes

Database Buffers 171966464 bytes

Redo Buffers 2973696 bytes

SQL > alter database mount standby database

Database altered.

SQL > alter database recover managed standby database disconnect from session

Database altered.

SQL > select name,open_mode,protection_mode,database_role from v$database

NAME OPEN_MODE PROTECTION_MODE DATABASE_ROLE

--

YGH MOUNTED MAXIMUM PERFORMANCE PHYSICAL STANDBY

Standby library operation:

SQL > select name,open_mode,protection_mode,database_role from v$database

NAME OPEN_MODE PROTECTION_MODE DATABASE_ROLE

--

YGH MOUNTED MAXIMUM PERFORMANCE PHYSICAL STANDBY

SQL > alter database commit to switchover to primary

Database altered.

SQL > shutdown immediate

ORA-01109: database not open

Database dismounted.

ORACLE instance shut down.

SQL > startup

ORACLE instance started.

Total System Global Area 264241152 bytes

Fixed Size 1218868 bytes

Variable Size 88082124 bytes

Database Buffers 171966464 bytes

Redo Buffers 2973696 bytes

Database mounted.

Database opened.

SQL > select name,open_mode,protection_mode,database_role from v$database

NAME OPEN_MODE PROTECTION_MODE DATABASE_ROLE

--

YGH READ WRITE MAXIMUM PERFORMANCE PRIMARY

On how to carry out the switching operation of oracle 10g physical standby to share here, I hope 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