ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Control File(整理)

Control File(整理)

原创 Linux操作系统 作者:yanggrubby123 时间:2010-05-28 17:35:33 0 删除 编辑

摘自http://space.itpub.net/23650854/viewspace-663382

 

Control File是二进制文件。要查看Control File内容 ,需以SYSDBA身份登入SQL*PLUS

SQL> oradebug setmypid
SQL> oradebug dump controlf 3

control file 被dump到USER_DUMP_DEST参数指定的目录下。
其中,3为dump level(level解释见最后)


Control File:
(1)数据库名和标识和建立时的时间戳 (SELECT * FROM V$DATABASE;)
(2)表空间名(SELECT * FROM V$TABLESPACE;)
(3)数据重作日志文件的名称和位置(SELECT * FROM V$LOGFILE;
(4)当前重作日志文件的序列号(SELECT *  FROM V$LOG;)
(5)同步检测点信息
(6)开始和结束重作段定义
(7)重作日志归档信息(SELECT * FROM  V$ARCHIVED_LOG;)
(8)备份信息(SELECT * FROM V$BACKUP;


 level的解释如下:
1 :only the file header
2 :just the file header, the database info record, and checkpoint progress records
3 :all record types, but just the earliest and latest records for circular reuse record types
4 :as above, but includes the 4 most recent records for circular reuse record types
5+ :as above, but the number of circular reuse records included doubles with each level

 

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10239785/viewspace-663942/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-10-25

  • 博文量
    3
  • 访问量
    6235