• [转]ORA-38500: USING CURRENT LOGFILE option not available without stand


    标签:

    oracle

    10g

    数据库

    ora-38500

    it

    分类: IT

    author:skate
    time :2009/08/03


    在dataguard启用实时恢复的时候,报如下错误:

    ORA-38500: USING CURRENT LOGFILE option not available without stand


    实际操作:

    SQL> alter database recover managed standby database using current logfile disconnect from session;
    alter database recover managed standby database using current logfile disconnect from session
    *
    第 1 行出现错误:
    ORA-38500: USING CURRENT LOGFILE option not available without stand

    这个错误说明,在standby库没有standby logfile,在maxmize pretection,maxmize availability中必须
    要有standby logfile,为了避免数据的损失最少,maxmize performance 也最好创建standbystandbi perform maxmiz logfile,考虑角色切换
    primary库也要创建standby logfile,

    standby logfile创建的要求, 与primary的redo logfile的大小相同,个数要至少多standbi primari logfil一个


    SQL> shutdown immeidate;
    SP2-0717: 非法的 SHUTDOWN 选项
    SQL> shutdown immediate;
    ORA-01109: 数据库未打开


    已经卸载数据库。
    ORACLE 例程已经关闭。
    SQL> startup mount;
    ORACLE 例程已经启动。

    Total System Global Area  612368384 bytes
    Fixed Size                  1250428 bytes
    Variable Size             167775108 bytes
    Database Buffers          436207616 bytes
    Redo Buffers                7135232 bytes
    数据库装载完毕。


    SQL> select member from v$logfile;

    MEMBER
    --------------------------------------------------------------------------------
    D:ORACLEPRODUCT10.2.0ORADATAORCLDG1REDO03.LOG
    D:ORACLEPRODUCT10.2.0ORADATAORCLDG1REDO02.LOG
    D:ORACLEPRODUCT10.2.0ORADATAORCLDG1REDO01.LOG

    SQL> alter database add standby logfile group 4 'D:ORACLEPRODUCT10.2.0ORADATAORCLDG1stdREDO01.LOG' size 50m;

    数据库已更改。

    SQL> alter database add standby logfile group 5 'D:ORACLEPRODUCT10.2.0ORADATAORCLDG1stdREDO02.LOG' size 50m;

    数据库已更改。

    SQL> alter database add standby logfile group 6 'D:ORACLEPRODUCT10.2.0ORADATAORCLDG1stdREDO03.LOG' size 50m;

    数据库已更改。

    SQL> alter database add standby logfile group 7 'D:ORACLEPRODUCT10.2.0ORADATAORCLDG1stdREDO04.LOG' size 50m;

    数据库已更改。

    现在,再启用实时应用, 就ok了!!!

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

    数据库已更改。

    ----end----

    http://blog.sina.com.cn/s/blog_53e6076b0100srnh.html

  • 相关阅读:
    Word 2003 Excel 2003 的迟绑定(late binding) 方法 时空地图TimeGIS
    快手之友情链接 时空地图TimeGIS
    InfoVista.NET 概述 时空地图TimeGIS
    快手博客 时空地图TimeGIS
    快手文档 www.kuaishou.net 时空地图TimeGIS
    快手之Excel篇 www.kuaishou.net 时空地图TimeGIS
    InfoVista.NET Beta 时空地图TimeGIS
    中国互联网络发展状况统计报告2009年 时空地图TimeGIS
    http://wiki.kuaishou.net 时空地图TimeGIS
    快手影音 www.timegis.com 时空地图TimeGIS
  • 原文地址:https://www.cnblogs.com/seasonzone/p/8488221.html
Copyright © 2020-2023  润新知