• 服务器断电,Oracle数据库无法启动解决方案


    数据库没有备份的情况下,数据库所在服务器由于意外断电,导致服务器启动之后,Oracle数据库startup报错.

    1. 数据库没开归档模式

    2. 无备份

    解决方案:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    SQL>startup mount
    SQL>recover database using backup controlfile until cancel;
    SQL>alter database open resetlogs;
    # 此时会提示system表空间需要恢复,但是由于当前日志损坏
    # 无法进行恢复,所以需要加入#隐含参数,oracle才不会监测scn
    # 的一致性,才能打开数据库。
    # 重启数据库加入隐含参数
    SQL> startup mount
    SQL> alter system set “_allow_resetlogs_corruption”=true scope=spfile;
    SQL> shutdown immediate
    SQL> startup mount
    SQL> alter database open resetlogs;
    alter database open resetlogs
    *
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    # 不管这些,再次登录sqlplus起动数据库
    SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 16 08:03:43 2007
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL>startup
  • 相关阅读:
    UINavigation Controller
    多表连接原理
    关于内存管理
    UITabBar Contoller
    网站优化HTTP应用
    网站优化ASP.net页面跳转方式优化
    网站优化缓存访问的改进
    马化腾关于产品设计与用户体验的培训(转)
    聚聚呀平台系统结构图
    网站产品支付
  • 原文地址:https://www.cnblogs.com/tippoint/p/3951337.html
Copyright © 2020-2023  润新知