• 模拟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>    

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

  • 相关阅读:
    Asp.Net Core中Session使用
    服务器开发- 牌和牌的基本操作
    服务器开发- Asp.Net Core中的websocket,并封装一个简单的中间件
    Lua Table转C# Dictionary
    Asp.Net Core 2.1+的视图缓存(响应缓存)
    C#中await和async关键字的简单理解
    SQLSERVER中分割字符串成多列
    Asp.Net Core Identity+EFCore + Mysql踩坑记录
    小试牛刀2:JavaScript基础题
    CSS典型案例实践
  • 原文地址:https://www.cnblogs.com/gaojian/p/3664373.html
Copyright © 2020-2023  润新知