zoukankan      html  css  js  c++  java
  • 模拟storage copy 功能失败的记录

    试验设想:

    机器1:

    alter database begin backup

    然后,在oracle仍然活动的状态下,将$ORACLE_BASE目录全部压缩拷贝到机器2

    机器2:

    startup:失败

    startup mount--〉recover database。 仍然失败

    看来,storage copy 这种第三方的功能,应该是作了和数据库厂商之间的特殊配合。

    Redo Buffers                5722112 bytes    
    Database mounted.    
    ORA-10873: file 1 needs to be either taken out of backup mode or media    
    recovered    
    ORA-01110: data file 1: '/u01/app/oracle/oradata/orcl/system01.dbf'    
        
        
    SQL>
        
        
    SQL> shutdown immediate;    
    ORA-01109: database not open    
        
        
    Database dismounted.    
    ORACLE instance shut down.    
    SQL> startup mount;    
    ORACLE instance started.    
        
    Total System Global Area 1023004672 bytes    
    Fixed Size                  2259640 bytes    
    Variable Size             641729864 bytes    
    Database Buffers          373293056 bytes    
    Redo Buffers                5722112 bytes    
    Database mounted.    
    SQL> recover database;    
    Media recovery complete.    
    SQL>     
        
    SQL> shutdown immediate;    
    ORA-01109: database not open    

    Database dismounted.    
    ORACLE instance shut down.    
    SQL> startup;    
    ORACLE instance started.    
        
    Total System Global Area 1023004672 bytes    
    Fixed Size                  2259640 bytes    
    Variable Size             641729864 bytes    
    Database Buffers          373293056 bytes    
    Redo Buffers                5722112 bytes    
    Database mounted.    
    ORA-00600: internal error code, arguments: [kcratr_nab_less_than_odr], [1],    
    [7], [47781], [47787], [], [], [], [], [], [], []    
          
    SQL>    

    ***********************************

  • 相关阅读:
    「POJ 2699」The Maximum Number of Strong Kings
    「HNOI 2013」切糕
    「PKUSC 2018」真实排名
    「国家集训队 2009」最大收益
    「TJOI2015」线性代数
    「BZOJ 3280」小R的烦恼
    「SDOI 2017」新生舞会
    「六省联考 2017」寿司餐厅
    「TJOI 2013」循环格
    「TJOI 2013」攻击装置
  • 原文地址:https://www.cnblogs.com/gaojian/p/3664373.html
Copyright © 2011-2022 走看看