网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

maximumprotection转maximumavailability

PS:该实验建立在之前DG博客的基础之上的

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

创新互联专业为企业提供铜梁网站建设、铜梁做网站、铜梁网站设计、铜梁网站制作等企业网站建设、网页设计与制作、铜梁企业网站模板建站服务,10年铜梁做网站经验,不只是建网站,更提供有价值的思路和整体网络服务。

  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 >






分享名称:maximumprotection转maximumavailability
文章起源:http://bjjierui.cn/article/ghijpc.html

其他资讯