zoukankan      html  css  js  c++  java
  • 052-195(新增70题2018)

    When you try to open your database, you receive the following error:

    ORA-00205: error in identifying controlfile

    Where would you find the details required to resolve this error?

    A. audit trail

    B. alert log file

    C. user trace file

    D. online trace file

    E. background trace file

    F. operating system event viewer

    Answer: B

    ORA-00205: error in identifying control file, check alert log for more info

    Cause: The system could not find a control file of the specified name and size.

    Action: Check that ALL control files are online and that they are the same files that the system created at cold start time.

    Alert Log

    Each database has an alert log, which is an XML file containing a chronological log of database messages and errors. The alert log contents include the following:

    All internal errors (ORA-600), block corruption errors (ORA-1578), and deadlock errors (ORA-60)

    Administrative operations such as DDL statements and the SQL*Plus commands STARTUP, SHUTDOWN, ARCHIVE LOG, and RECOVER

    Several messages and errors relating to the functions of shared server and dispatcher processes

    Errors during the automatic refresh of a materialized view

    Oracle Database uses the alert log as an alternative to displaying information in the Enterprise Manager GUI. If an administrative operation is successful, then Oracle Database writes a message to the alert log as "completed" along with a time stamp.

    Oracle Database creates an alert log in the alert subdirectory  when you first start a database instance, even if no database has been created yet.

    alert是最先创建来记录问题的,开机出现问题一般都会记录。

     

    052-184(新增70题2018)

    SQL> select * from alert where upper(log) like '%CONTROL%';
    LOG
    --------------------------------------------------------------------------------
      control_files            = "/home/oracle/app/oracle/oradata/orcl/control01.ctl
      control_files            = "/home/oracle/app/oracle/flash_recovery_area/orcl/c
    Create controlfile reuse set database "orcl"
    Completed: Create controlfile reuse set database "orcl"
      control_files            = "/home/oracle/app/oracle/oradata/orcl/control01.ctl
      control_files            = "/home/oracle/app/oracle/flash_recovery_area/orcl/c
    Create controlfile reuse set database "orcl"
    Completed: Create controlfile reuse set database "orcl"
    but not in the controlfile. Adding to controlfile.
             This condition can occur when a backup controlfile has
    1. A backup controlfile was restored.
    2. A standby controlfile was restored.
    3. The controlfile was re-created.
    LOGSTDBY: Validating controlfile with logical metadata
      control_files            = "/home/oracle/app/oracle/oradata/orcl/control01.ctl
      control_files            = "/home/oracle/app/oracle/flash_recovery_area/orcl/c
    Updating character set in controlfile to WE8MSWIN1252
      control_files            = "/home/oracle/app/oracle/oradata/orcl/control01.ctl
      control_files            = "/home/oracle/app/oracle/flash_recovery_area/orcl/c
      control_files            = "/home/oracle/app/oracle/oradata/orcl/control01.ctl
    LOG
    --------------------------------------------------------------------------------
      control_files            = "/home/oracle/app/oracle/flash_recovery_area/orcl/c

     

  • 相关阅读:
    系统的讲解
    系统的讲解
    前端笔记之Vue(七)Vue-router&axios&Vue插件&Mock.js&cookie|session&加密
    前端笔记之Vue(六)分页排序|酷表单实战&Vue-cli
    前端笔记之Vue(五)TodoList实战&拆分store&跨域&练习代理跨域
    EggJs快速入门
    前端笔记之Vue(四)UI组件库&Vuex&虚拟服务器初识
    前端笔记之Vue(三)生命周期&CSS预处理&全局组件&自定义指令
    前端笔记之Vue(二)组件&案例&props&计算属性
    前端笔记之Vue(一)初识SPA和Vue&webpack配置和vue安装&指令
  • 原文地址:https://www.cnblogs.com/Babylon/p/8583248.html
Copyright © 2011-2022 走看看