Home > Database > Mysql Tutorial > Oracle dataguard switchover切换

Oracle dataguard switchover切换

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 17:10:27
Original
1435 people have browsed it

switchover 操作 在priamry上操作: 1. select switchover_status from v$database;switchover_status的值入股是To standby,可

switchover 操作

在priamry上操作:

1. select switchover_status from v$database;
switchover_status的值入股是To standby,可以直接switchover,
如果是sessions active,则需要在switchover的命令后面加上with session shutdown
2. alter database commit to switchover to physical standby;
3. shutdowm immediate;
4. startup mount;

在standby上操作:

1. select switchover_status from v$database
说明:switchover_status的值入股是To primary,可以直接switchover,如果是sessions active,
则需要在switchover的命令后面加上with session shutdown;)
2. alter database commit to switchover to primary;
3. shutdown immediate;
4. startup;

linux

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template