ITPub博客

首页 > 数据库 > Oracle > Dataguard关于备库switchover_status状态为 not allowed

Dataguard关于备库switchover_status状态为 not allowed

原创 Oracle 作者:wm10240 时间:2014-10-08 19:36:10 0 删除 编辑

datagurad中建立备库或者主库备库切换时,主库是switchover_status为tostandby但备库状态为not allowed(
理论上应该为toprimary),当使用 alter database recover managed standby database disconnect from session 进
行更改会出错:
 

最初因为not allowed会影响主库备库的切换,一直寻求解决这个问题,木有解决。后来发现,当主备库切换时,主库
切换到备库后,在源备库中执行alter database recover managed standby database disconnect from session就不会出错,
而且备库的switchover_status是toprimary,备库顺利切换。

暂且不知道原因是什么,待研究

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29844843/viewspace-1292063/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-10-08

  • 博文量
    137
  • 访问量
    242817