Data Guard启动故障转

select name,open_mode,database_role from v$database;

select flashback_on from v$database; 

select flashback_on from v$database;

alter database flashback on;

select PROCESS,CLIENT_PROCESS,THREAD#,SEQUENCE#,BLOCK# from v$managed_standby where process = 'MRP0' or client_process='LGWR';
alter database recover managed standby database cancel;

alter database flashback on;

alter database recover managed standby database disconnect from session;

 

select name,open_mode,database_role from v$database;

alter database recover managed standby database cancel;

ALTER DATABASE OPEN READ ONLY;

alter database recover managed standby database using current logfile disconnect from session;

select name,open_mode,database_role from v$database;

show database verbose cdb1_stby LogXptMode;

edit database cdb1_stby set  property LogXptMode='SYNC';

edit database cdb1 set property LogXptMode='SYNC';

show configuration;

EDIT CONFIGURATION SET PROTECTION MODE AS MaxAvailability;

edit database cdb1_stby set  property FastStartFailoverTarget=cdb1;

edit database cdb1 set  property FastStartFailoverTarget=cdb1_stby;

show database verbose cdb1_stby FastStartFailoverTarget;

show database verbose cdb1 FastStartFailoverTarget;

show configuration verbose ObserverReconnect

edit configuration  set  property ObserverReconnect=120;

show fast_start failover

show observer

enable fast_start failover

show configuration;

start observer

disable fast_start failover

show observer 

ENABLE FAST_START FAILOVER OBSERVE ONLY

show fast_start failover 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值