maximum protection 转 maximum availability

发布时间:2020-08-04 20:07:23 作者:大鲨鱼o0O
来源:ITPUB博客 阅读:110
PS:该实验建立在之前DG博客的基础之上的

主库之前的状态,执行转换语句,主库之后的状态

  1. 15:00:01 SYS @ slow >select name,database_role,protection_mode from v$database;

  2. NAME     DATABASE_ROLE PROTECTION_MODE
  3. --------- ---------------- --------------------
  4. SLOW     PRIMARY     MAXIMUM PROTECTION

  5. 1 row selected.

  6. Elapsed: 00:00:00.00
  7. 15:00:35 SYS @ slow >select status from v$instance;

  8. STATUS
  9. ------------
  10. OPEN

  11. 1 row selected.

  12. Elapsed: 00:00:00.00
  13. 18:57:24 SYS @ slow >startup mount force;
  14. ORACLE instance started.

  15. Total System Global Area 521936896 bytes
  16. Fixed Size         2254824 bytes
  17. Variable Size         377489432 bytes
  18. Database Buffers     138412032 bytes
  19. Redo Buffers         3780608 bytes
  20. Database mounted.
  21. 18:57:44 SYS @ slow >select name,database_role,protection_mode from v$database;

  22. NAME     DATABASE_ROLE PROTECTION_MODE
  23. --------- ---------------- --------------------
  24. SLOW     PRIMARY     MAXIMUM PROTECTION

  25. 1 row selected.

  26. Elapsed: 00:00:00.01
  27. 18:58:20 SYS @ slow >select status from v$instance;

  28. STATUS
  29. ------------
  30. MOUNTED

  31. 1 row selected.

  32. Elapsed: 00:00:00.01
  33. 18:58:39 SYS @ slow >alter database set standby database to maximize availability;

  34. Database altered.

  35. Elapsed: 00:00:00.00
  36. 19:00:09 SYS @ slow >alter database open;

  37. Database altered.

  38. Elapsed: 00:00:03.03
  39. 19:00:25 SYS @ slow >select name,database_role,protection_mode from v$database;

  40. NAME     DATABASE_ROLE PROTECTION_MODE
  41. --------- ---------------- --------------------
  42. SLOW     PRIMARY     MAXIMUM AVAILABILITY

  43. 1 row selected.

  44. Elapsed: 00:00:00.00
  45. 19:01:20 SYS @ slow >

备库之前的状态,主库执行转换语句,备库之后的状态  ,,,一切正常,转换成功!!!

  1. 14:56:33 SYS @ gotime >select name,database_role,protection_mode from v$database;

  2. NAME     DATABASE_ROLE PROTECTION_MODE
  3. --------- ---------------- --------------------
  4. SLOW     PHYSICAL STANDBY MAXIMUM PROTECTION

  5. 1 row selected.

  6. Elapsed: 00:00:00.00
  7. 14:57:21 SYS @ gotime >select status from v$instance;

  8. STATUS
  9. ------------
  10. OPEN

  11. 1 row selected.

  12. Elapsed: 00:00:00.00
  13. 18:56:45 SYS @ gotime >startup mount force;
  14. ORACLE instance started.

  15. Total System Global Area 521936896 bytes
  16. Fixed Size         2254824 bytes
  17. Variable Size         377489432 bytes
  18. Database Buffers     138412032 bytes
  19. Redo Buffers         3780608 bytes
  20. Database mounted.
  21. 18:57:07 SYS @ gotime >select name,database_role,protection_mode from v$database;

  22. NAME     DATABASE_ROLE PROTECTION_MODE
  23. --------- ---------------- --------------------
  24. SLOW     PHYSICAL STANDBY MAXIMUM AVAILABILITY

  25. 1 row selected.

  26. Elapsed: 00:00:00.04
  27. 19:02:08 SYS @ gotime >





推荐阅读:
  1. 0018-大数据售前的中年危机
  2. FruityWifi动手玩

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

availability maximum protection

上一篇:无监控,不运维:解读企业全栈式监控运维

下一篇:国庆充电:从容器到容器云,什么才是Kubernetes的本质?

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》