zoukankan      html  css  js  c++  java
  • 控制文件的丢失与恢复

    152. One of the tablespaces is read­only in your database. The loss of all control files forced you to re­create the control file. Which operation do you need to perform after re­creating the control file and opening the database?

    A.drop and re­create the read­only tablespaces

    B.rename the read­only data files to their correct file names

    C.change the tablespace status from read/write to read­only

    D.re­create the read­only tablespace because it is automatically removed

    控制文件的备份与恢复在数据库的备份恢复过程中十分关键,其原则是:

    在数据库物理结构发生变化后备份控制文件

    方法有:

    1. 通过操作系统命令在数据库关闭时对控制文件进行copy,一般用于全库一致性恢复
    2. 利用alter database backup controlfile to 命令将控制文件备份到二进制文件中.oracle推荐使用这种方式来备份控制文件,这也是最简单的方式,比如:
      1. alter database backup controfile to '/home/oracle/control01.bak';
    3. 利用alter database backup controlfile to trace 命令将重建控制文件备份的脚本被分到后台的trace文件中.这种方式备份控制文件会丢失归档日志历史等许多信息.而且在重建控制文件时,只读表空间和脱机的数据文件的处理相对比较复杂.
  • 相关阅读:
    VMware Workstation 6.0 正式版公布
    KMyMoney:全体理财好管家
    Bugzilla 3.0 公布
    Brightside:切换工作区的小东西
    QTM-Blogging 客户端
    MDF2ISO-将 MDF 转换为 ISO
    Yakuake 2.8 beta1
    Red Hat 的 Liberation 字体
    Dictman:有效的词典呆板人
    digiKam 0.9.2 Beta 1
  • 原文地址:https://www.cnblogs.com/arcer/p/3248072.html
Copyright © 2011-2022 走看看