Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

1

好友

5

主题
1#
发表于 2013-12-12 20:51:50 | 查看: 6809| 回复: 6
本帖最后由 huqianhao 于 2013-12-12 20:55 编辑

今天在ADG备库准备切换成snapshot standby,直接在open状态执行了切换命令,报错了。重启后,不能mount啦。求大神分析下原因及解决办法。是否可以不用重新搭建ADG就可以解决?
操作系统:Red Hat Enterprise Linux Server release 5.8
oracle版本:11.2.0.3.0(打11.2.0.3.8的PSU没打成功)
Grid版本:11.2.0.3.8
备库为单实例的,主库为RAC,版本为11.2.0.3.8
  1. SQL> alter database recover managed standby database cancel;

  2. Database altered.

  3. SQL> show db_reco
  4. SP2-0158: unknown SHOW option "db_reco"
  5. SQL> show parameter db_re

  6. NAME                                     TYPE         VALUE
  7. ------------------------------------ ----------- ------------------------------
  8. db_recovery_file_dest                     string         +FRA
  9. db_recovery_file_dest_size             big integer 400G
  10. db_recycle_cache_size                     big integer 0
  11. SQL> archive log list
  12. Database log mode               Archive Mode
  13. Automatic archival               Enabled
  14. Archive destination               +FRA
  15. Oldest online log sequence     46809
  16. Next log sequence to archive   0
  17. Current log sequence               46817
  18. SQL>
  19. SQL> alter database flashback on;

  20. Database altered.

  21. SQL> alter database convert to snapshot standby;
  22. alter database convert to snapshot standby
  23. *
  24. ERROR at line 1:
  25. ORA-01013: user requested cancel of current operation



  26. SQL> alter database convert to snapshot standby;
  27. alter database convert to snapshot standby
  28. *
  29. ERROR at line 1:
  30. ORA-38784: Cannot create restore point 'SNAPSHOT_STANDBY_REQUIRED_12/12/2013 13:59:21'.
  31. ORA-38788: More standby database recovery is needed


  32. SQL> shutdown immediate
  33. ORA-01109: database not open


  34. Database dismounted.
  35. ORACLE instance shut down.
  36. SQL> startup mount;
  37. ORACLE instance started.

  38. Total System Global Area 1.0689E+10 bytes
  39. Fixed Size                    2237776 bytes
  40. Variable Size                 2214595248 bytes
  41. Database Buffers         8388608000 bytes
  42. Redo Buffers                   84033536 bytes
  43. ORA-00600: internal error code, arguments: [control file RSBY_RDI/IC mismatch], [0], [], [], [], [], [], [], [], [],
  44. [], []


  45. SQL> select open_mode from v$database;
  46. select open_mode from v$database
  47.                       *
  48. ERROR at line 1:
  49. ORA-01507: database not mounted


  50. SQL> alter database convert to snapshot standby;
  51. alter database convert to snapshot standby
  52. *
  53. ERROR at line 1:
  54. ORA-01507: database not mounted


  55. SQL> shutdown immediate;
  56. ORA-01507: database not mounted


  57. ORACLE instance shut down.
  58. SQL> startup mount
  59. ORACLE instance started.

  60. Total System Global Area 1.0689E+10 bytes
  61. Fixed Size                    2237776 bytes
  62. Variable Size                 2214595248 bytes
  63. Database Buffers         8388608000 bytes
  64. Redo Buffers                   84033536 bytes
  65. ORA-00600: internal error code, arguments: [control file RSBY_RDI/IC mismatch], [0], [], [], [], [], [], [], [], [],
  66. [], []


  67. SQL> startup mount ;
  68. ORA-01081: cannot start already-running ORACLE - shut it down first
  69. SQL> shutdown immediate;
  70. ORA-01507: database not mounted


  71. ORACLE instance shut down.
  72. SQL> startup mount;
  73. ORACLE instance started.

  74. Total System Global Area 1.0689E+10 bytes
  75. Fixed Size                    2237776 bytes
  76. Variable Size                 2214595248 bytes
  77. Database Buffers         8388608000 bytes
  78. Redo Buffers                   84033536 bytes
  79. ORA-00600: internal error code, arguments: [control file RSBY_RDI/IC mismatch], [0], [], [], [], [], [], [], [], [],
  80. [], []
复制代码
2#
发表于 2013-12-12 20:59:43
alert 和trace日志见附件。 12-12 log.rar (1018.55 KB, 下载次数: 1851)

回复 只看该作者 道具 举报

3#
发表于 2013-12-14 16:42:46
ODM FINDING:
Bug 13254862  ORA-600 [control file RSBY_RDI/IC mismatch] mounting instance after NID
Affects:

    Product (Component)        Oracle Server (Rdbms)
    Range of versions believed to be affected         Versions BELOW 12.1
    Versions confirmed as being affected        

        11.2.0.3
        11.2.0.2

    Platforms affected        Generic (all / most platforms affected)

Fixed:

    This issue is fixed in       

        12.1.0.1 (Base Release)
        11.2.0.4 (Future Patch Set)

Symptoms:
       
Related To:

    Internal Error May Occur (ORA-600)
    ORA-600 [control file RSBY_RDI/IC mismatch]

       

    Physical Standby Database / Dataguard

Description

    When creating a backup controlfile (including standby controlfile) from
    a snapshot standby (ssby) controlfile, standby related fields are not
    clean up properly. This can lead to problems such as an
    ORA-600 [control file RSBY_RDI/IC mismatch] when mounting an instance
    after using NID.
     
    With this fix if NID detected snapshot standby related fields in
    controlfile, it prints an alert message and removes the snapshot
    standby related fields.
     

回复 只看该作者 道具 举报

4#
发表于 2013-12-14 16:46:01
Bugs fixed in the 11.2.0.4 Patch Set

中描述已修复 13254862  

你也可以考虑打one-off patch

回复 只看该作者 道具 举报

5#
发表于 2013-12-23 14:34:04
Liu Maclean(刘相兵 发表于 2013-12-14 16:46
Bugs fixed in the 11.2.0.4 Patch Set

中描述已修复 13254862  

打过这个补丁,没效果,后来重新恢复啦

回复 只看该作者 道具 举报

6#
发表于 2014-9-28 11:23:06
我的是单实例11.2.0.4版本,linux 5.8 64bi平台下,在执行alter database convert to snapshot standby;报ORA-38784 ORA-38788,还没查到问题

回复 只看该作者 道具 举报

7#
发表于 2014-11-12 10:50:38
rongshiyuan 发表于 2014-9-28 11:23
我的是单实例11.2.0.4版本,linux 5.8 64bi平台下,在执行alter database convert to snapshot standby;报O ...

最后发现与只读表空间有关,将其变成read write就可以convert to snapshot standby

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-21 01:54 , Processed in 0.051313 second(s), 23 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569