您的位置:首页 > 数据库 > Oracle

oracle controlfile控制文件 dump内容小记

2016-06-06 10:08 477 查看
/****controlfile一些帖子*********/
http://oracle.chinaitlab.com/exploiture/839590.html

http://www.etcn.cn/Tech/Sql/Oracle/2012/1007/4426.html

http://www.ixora.com.au/notes/controlfile_dumps.htm

/*******查看与控制文件相关的enqueue lock***/

SQL>  select sid,type,lmode from v$enqueue_lock where type='CF';

 

       SID TYPE      LMODE

---------- ---- ----------

         3 CF            2

/****ckpt以2级lock mode持有cf enquue lock***/ 

关于lock mode;

请参考:http://docs.oracle.com/cd/E11882_01/server.112/e25513/waitevents002.htm#i970852

SQL> select program from v$session where sid=3;

 

PROGRAM

----------------------------------------------------------------

ORACLE.EXE (CKPT)

/********分析控制文件一些命令及示例*************/

Dump Level Dump Contains 

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  --如上,还包含可重用类型记录的最新4个记录

5 as above, but the number of circular reuse records included doubles with each level --如上,上述的2倍

For example, the following syntax could be used to get a text dump on the controlfile in the trace file of the current process showing all

 the controlfile record types but only the oldest and most recent of the circular reuse records. 

/****oradebug仅以sysdba运行*********/

oradebug setmypid

oradebug dump controlf 3

 

/*******如果无sysdba却具备alter session权限**可运行如下******/

Of course, the session must be connected AS SYSDBA to use the ORADEBUG facility. However, any session with the ALTER SESSION privilege 

can use the following event syntax to take the same dump. 

alter session set events 'immediate trace name controlf level 3';

/*****alter session set events 'immediate trace name controlf level 1';仅dump controlfile header*********/

DUMP OF CONTROL FILES, Seq # 23673 = 0x5c79 --控制文件头主要是描述数据名称,控制文件块大小,多大,控件序列***

 V10 STYLE. FILE HEADER:

 Compatibility Vsn = 186646528=0xb200000

 Db ID=1331266241=0x4f5982c1, Db Name='ORCL'

 Activation ID=0=0x0

 Control Seq=23673=0x5c79, File size=602=0x25a

 File Number=0, Blksiz=16384, File Type=1 CONTROL

*** END OF DUMP ***

/*****控制文件视图*********/

SQL> select * from v$controlfile;--其实就是控制文件头块的内容,db mount会去用control header block中的块大小及块个数与spfile中的块多少进行匹配验证如不通过报错

 

STATUS  NAME                                                                             IS_RECOVERY_DEST_FILE BLOCK_SIZE FILE_SIZE_BLKS

------- -------------------------------------------------------------------------------- --------------------- ---------- --------------

        D:\ORACLE11G_64BIT\ORADATA\ORCL\CONTROL01.CTL                                    NO                         16384            602

        D:\ORACLE11G_64BIT\ORADATA\ORCL\CONTROL02.CTL                                    NO                         16384            602

 

/*********** alter session set events 'immediate trace name controlf level 2';文件头和数据库信息记录,检查点进度记录*********/

 

 /******第一部分:控制文件头*******/

 V10 STYLE. FILE HEADER:

 Compatibility Vsn = 186646528=0xb200000

 Db ID=1331266241=0x4f5982c1, Db Name='ORCL'

 Activation ID=0=0x0

 Control Seq=23678=0x5c7e, File size=602=0x25a

 File Number=0, Blksiz=16384, File Type=1 CONTROL

 

 

 

/******数据库信息方面记录*******/ 

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

DATABASE ENTRY

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

 (size = 316, compat size = 316, section max = 1, section in-use = 1,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 1, numrecs = 1)

 12/31/2012 14:25:05

 DB Name "ORCL"

 Database flags = 0x00404001 0x00001200

 Controlfile Creation Timestamp  12/31/2012 14:25:06 --控制文件创建时间

 Incmplt recovery scn: 0x0000.00000000

 Resetlogs scn: 0x0000.00000001 Resetlogs Timestamp  12/31/2012 14:25:05 --控制文件resetlog的时间及scn*******

 Prior resetlogs scn: 0x0000.00000000 Prior resetlogs Timestamp  01/01/1988 00:00:00

 Redo Version: compatible=0xb200000

 /******The block type is 0 for virgin controlfile blocks and 21 otherwise*********/

 #Data files = 21, #Online files = 21 ---数据文件

 Database checkpoint: Thread=1 scn: 0x0000.00ac4516 ---数据库的检查点scn,即v$database.checkpoint_change#

 Threads: #Enabled=1, #Open=1, Head=1, Tail=1 --说明有头尾的概念

 enabled  threads:  01000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

 

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000

 Max log members = 3, Max data members = 1 --说明最多一个日志组有3个成员,经测试可以添加3个以上的成员到日志组中

 Arch list: Head=9, Tail=9, Force scn: 0x0000.00ab9e6dscn: 0x0000.00ac4516 

 Activation ID: 1331289025

 Controlfile Checkpointed at scn:  0x0000.00aca258 03/30/2013 17:19:02 --current当前日志的first_change# scn

 thread:0 rba:(0x0.0.0)

 enabled  threads:  00000000 00000000 00000000 00000000 00000000 00000000 /*****开启的thread********/

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  

 

 

 

/*********检查点进度的相关记录*******/ 

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

CHECKPOINT PROGRESS RECORDS

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

/***如下对应此下的信息如每条记录的大小,记录个数;已使用记录数***/

SQL> select * from v$controlfile_record_section where type='CKPT PROGRESS';

 

TYPE                         RECORD_SIZE RECORDS_TOTAL RECORDS_USED FIRST_INDEX LAST_INDEX LAST_RECID

---------------------------- ----------- ------------- ------------ ----------- ---------- ----------

CKPT PROGRESS                       8180            11            0           0          0          0

 (size = 8180, compat size = 8180, section max = 11, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 2, numrecs = 11)

 

/***你发现有多个thread***/ 

THREAD #1 - status:0x2 flags:0x0 dirty:391 --还有个dirty

/******rba可以参考:http://space.itpub.net/9240380/viewspace-756953****/

low cache rba:(0x368.1816c.0) on disk rba:(0x368.1878d.0) --这个就是自low cache rba写入到on disk rba,即实例恢复前滚的rba地址段

on disk scn: 0x0000.00aca2f1 03/30/2013 17:20:10

resetlogs scn: 0x0000.00000001 12/31/2012 14:25:05

heartbeat: 811361256 mount id: 1339137070 --还有心跳机制,

--中间略

THREAD #8 - status:0x0 flags:0x0 dirty:0

low cache rba:(0x0.0.0) on disk rba:(0x0.0.0)

on disk scn: 0x0000.00000000 01/01/1988 00:00:00

resetlogs scn: 0x0000.00000000 01/01/1988 00:00:00

heartbeat: 0 mount id: 0

 

 

 

/***扩展数据库的记录****/ 

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

EXTENDED DATABASE ENTRY

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

 (size = 900, compat size = 900, section max = 1, section in-use = 1,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 140, numrecs = 1)

/***主要是控制文件自动备份,下次备份的序列**/ 

Control AutoBackup date(dd/mm/yyyy)=31/12/2012

Next AutoBackup sequence= 0

Database recovery target inc#:1, Last open inc#:1

flg:0x0, flag:0x0

Change tracking state=0, file index=0, checkpoint count=0scn: 0x0000.00000000

Flashback log count=0, block count=0 /****oracle闪回功能****/

Desired flashback log size=0 blocks

Oldest guarantee restore point=0

Highest thread enable/disable scn: 0x0000.00000001

Number of Open thread with finite next SCN in last log: 0

Number of half-enabled redo threads: 0

Sum of absolute file numbers for files currently being moved online: 0

*** END OF DUMP ***

 

/******alter session set events 'immediate trace name controlf level 3';所有类型的记录,但仅限于可重用类型记录的最早和最新的记录****/

/***控制文件头*****/ 

 V10 STYLE. FILE HEADER:

 Compatibility Vsn = 186646528=0xb200000

 Db ID=1331266241=0x4f5982c1, Db Name='ORCL'

 Activation ID=0=0x0

 Control Seq=23738=0x5cba, File size=602=0x25a

 File Number=0, Blksiz=16384, File Type=1 CONTROL

 

 

 

/****数据库记录***********/ 

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

DATABASE ENTRY

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

 (size = 316, compat size = 316, section max = 1, section in-use = 1,

  last-recid= 0, old-recno = 0, last-recno = 0)

 /***当前日志文件组的成员最大个数***因为我添加了5个日志成员到一个成员组***/

 Max log members = 5, Max data members = 1

 Arch list: Head=3, Tail=3, Force scn: 0x0000.00aca568scn: 0x0000.00aca58e --后者为当前日志文件的first_change#

 Activation ID: 1331289025

 Controlfile Checkpointed at scn:  0x0000.00aca864 03/30/2013 17:55:09

 thread:0 rba:(0x0.0.0)

 enabled  threads:  00000000 00000000 00000000 00000000 00000000 00000000

  

  00000000 00000000 00000000 00000000 00000000 00000000

 

 

 

/***检查点进度记录****/ 

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

CHECKPOINT PROGRESS RECORDS

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

 (size = 8180, compat size = 8180, section max = 11, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 2, numrecs = 11)

THREAD #1 - status:0x2 flags:0x0 dirty:0

low cache rba:(0xffffffff.ffffffff.ffff) on disk rba:(0x373.e1f.0)

on disk scn: 0x0000.00aca86a 03/30/2013 17:55:19

resetlogs scn: 0x0000.00000001 12/31/2012 14:25:05

heartbeat: 811361965 mount id: 1339137070

THREAD #8 - status:0x0 flags:0x0 dirty:0

low cache rba:(0x0.0.0) on disk rba:(0x0.0.0)

on disk scn: 0x0000.00000000 01/01/1988 00:00:00

resetlogs scn: 0x0000.00000000 01/01/1988 00:00:00

heartbeat: 0 mount id: 0

 

 

 

/********扩展性的数据库记录***/ 

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

EXTENDED DATABASE ENTRY

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

 (size = 900, compat size = 900, section max = 1, section in-use = 1,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 140, numrecs = 1)

Control AutoBackup date(dd/mm/yyyy)=31/12/2012

Next AutoBackup sequence= 0

Database recovery target inc#:1, Last open inc#:1

flg:0x0, flag:0x0

Change tracking state=0, file index=0, checkpoint count=0scn: 0x0000.00000000

Flashback log count=0, block count=0

Desired flashback log size=0 blocks

Oldest guarantee restore point=0

Highest thread enable/disable scn: 0x0000.00000001

Number of Open thread with finite next SCN in last log: 0

Number of half-enabled redo threads: 0

Sum of absolute file numbers for files currently being moved online: 0

 

 

 

 /***与level 2相比,新增的记录类型:重作线程方面的记录***/

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

REDO THREAD RECORDS

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

 (size = 256, compat size = 256, section max = 8, section in-use = 1,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 9, numrecs = 8)

THREAD #1 - status:0xf thread links forward:0 back:0

 #logs:9 first:3 last:11 current:3 last used seq#:0x373

 enabled at scn: 0x0000.00000001 12/31/2012 14:25:10

 disabled at scn: 0x0000.00000000 01/01/1988 00:00:00

 opened at 03/29/2013 22:05:40 by instance orcl

Checkpointed at scn:  0x0000.00aca58e 03/30/2013 17:38:36

 thread:1 rba:(0x373.2.10)

 enabled  threads:  01000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000

 log history: 882 --对应select max(sequence#) from v$log_history;

 restore point keep sequence: 0

 

 

 

/***日志文件记录即v$log********/ 

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

LOG FILE RECORDS

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

 (size = 72, compat size = 72, section max = 16, section in-use = 11,

  last-recid= 20, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 10, numrecs = 16)

LOG FILE #1:  --标记日志文件是否删除

 Thread 0 redo log links: forward: 0 backward: 0

 siz: 0x0 seq: 0x00000000 hws: 0x0 bsz: 0 nab: 0x0 flg: 0x0 dup: 0

 Archive links: fwrd: 0 back: 0 Prev scn: 0x0000.00000000

 Low scn: 0x0000.00000000 01/01/1988 00:00:00

 Next scn: 0x0000.00000000 01/01/1988 00:00:00

--中间略

LOG FILE #11: /***如下指明此日志组有几个成员**/

  name #32: D:\REDO11_1.LOG

  name #33: D:\REDO11_2.LOG

  name #34: D:\REDO11_3.LOG

  name #35: D:\REDO11_4.LOG

  name #36: D:\REDO11_5.LOG

 Thread 1 redo log links: forward: 0 backward: 10 --这里有个forward,backward,把日志组链接起来

 siz: 0x5000 seq: 0x00000372 hws: 0x2 bsz: 512 nab: 0x1e flg: 0x1 dup: 5

 Archive links: fwrd: 0 back: 0 Prev scn: 0x0000.00aca568

 Low scn: 0x0000.00aca56e 03/30/2013 17:38:00 /**对应v$log.first_change#和last_change#88/

 Next scn: 0x0000.00aca58e 03/30/2013 17:38:36

 

 

 

/****上述是日志文件下面就是数据文件记录****/

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

DATA FILE RECORDS

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

/***先来个数据文件的综述取自v$controlfile_record_rection****/

 (size = 520, compat size = 520, section max = 100, section in-use = 21,

  last-recid= 2136, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 11, numrecs = 100)

/***文件1**********/ 

DATA FILE #1: 

  name #4: D:\ORACLE11G_64BIT\ORADATA\ORCL\SYSTEM01.DBF --名称

creation size=89600 block size=8192 status=0xe head=4 tail=4 dup=1 --文件大小,头尾

 tablespace 0, index=1 krfil=1 prev_file=0 --文件所属表空间

 unrecoverable scn: 0x0000.00000000 01/01/1988 00:00:00

 Checkpoint cnt:1148 scn: 0x0000.00aca58e 03/30/2013 17:38:36 --

 Stop scn: 0xffff.ffffffff 03/29/2013 22:02:50 

 Creation Checkpointed at scn:  0x0000.00000009 12/31/2012 14:25:22 /creation scn对应v$datafile.creation_change#**/

 thread:1 rba:(0x1.3.10)/****rba***/

 enabled  threads:  01000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

 

  00000000 00000000 00000000 00000000 00000000 00000000

 Offline scn: 0x0000.00000000 prev_range: 0 --offline scn***也对应v$datafile.offline_change#

 Online Checkpointed at scn:  0x0000.00000000 

 thread:0 rba:(0x0.0.0)

 enabled  threads:  00000000 00000000 00000000 00000000 00000000 00000000

  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

  

 Hot Backup end marker scn: 0x0000.00000000 --热备结束时的scn****

 aux_file is NOT DEFINED 

 Plugged readony: NO

 Plugin scnscn: 0x0000.00000000 --plugin scn**同上***

 Plugin resetlogs scn/timescn: 0x0000.00000000 01/01/1988 00:00:00

 Foreign creation scn/timescn: 0x0000.00000000 01/01/1988 00:00:00

 Foreign checkpoint scn/timescn: 0x0000.00000000 01/01/1988 00:00:00

 Online move state: 0

 

 

 

/***少了不临时文件的记录****/ 

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

TEMP FILE RECORDS

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

/***记录内容同上不再重复********8/

 (size = 56, compat size = 56, section max = 100, section in-use = 2,

  last-recid= 3, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 90, numrecs = 100)

TEMP FILE #1: External File #201 

  name #7: D:\ORACLE11G_64BIT\ORADATA\ORCL\TEMP01.DBF

creation size=2560 block size=8192 status=0x1e head=7 tail=7 dup=1

 tablespace 3, index=4 krfil=1 prev_file=0

 unrecoverable scn: 0x0000.00000e99 12/31/2012 14:25:40

TEMP FILE #2: External File #202 

  name #29: C:\NEW_TEMP.DBF

creation size=12800 block size=8192 status=0x1e head=29 tail=29 dup=1

 tablespace 12, index=13 krfil=1 prev_file=0

 unrecoverable scn: 0x0000.00512c04 03/10/2013 00:32:51

 

 

 

/***表空间记录****/ 

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

TABLESPACE RECORDS

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

 (size = 68, compat size = 68, section max = 100, section in-use = 14,

  last-recid= 16, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 89, numrecs = 100)

 

TABLESPACE #0 SYSTEM: recno=1 --表空间编号

 First datafile link=1  Tablespace Flag=0 --表空间第一个数据文件***

 Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00 --表空间基于pitr模式的开始时的scn

 Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00 --同上最新的scn

TABLESPACE #1 SYSAUX: recno=2

 First datafile link=2  Tablespace Flag=0

 Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00

 Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00

TABLESPACE #2 UNDOTBS1: recno=3

 First datafile link=3  Tablespace Flag=0

 Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00

 Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00

--中间略

TABLESPACE #13 TBS_16K: recno=14

 First datafile link=21  Tablespace Flag=0

 Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00

 Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00

 

 

 

/***rman配置记录*********未使用此功能/ 

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

RMAN CONFIGURATION RECORDS

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

 (size = 1108, compat size = 1108, section max = 50, section in-use = 0,--未使用此功能故section in-use = 0

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 91, numrecs = 50)

 

 

 

/*** 闪回日志文件记录********/ 

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

FLASHBACK LOGFILE RECORDS

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

 (size = 84, compat size = 84, section max = 2048, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 142, numrecs = 2048)

 

 

 

/*****线程实例映射记录******/ 

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

THREAD INSTANCE MAPPING RECORDS

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

 (size = 80, compat size = 80, section max = 8, section in-use = 8,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 159, numrecs = 8)

orcl recno=1

UNNAMED_INSTANCE_2 recno=2

UNNAMED_INSTANCE_3 recno=3

UNNAMED_INSTANCE_4 recno=4

UNNAMED_INSTANCE_5 recno=5

UNNAMED_INSTANCE_6 recno=6

UNNAMED_INSTANCE_7 recno=7

UNNAMED_INSTANCE_8 recno=8

 

 

 

/***********mttr*******/ 

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

MTTR RECORDS

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

 (size = 100, compat size = 100, section max = 8, section in-use = 1,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 160, numrecs = 8)

MTTR record for thread 1

MTTR statistics status: 3

Init time: Avg: 14335666 us, Times measured: 4

File open time: Avg: 65839 us, Times measured: 77

Log block read time: Avg: 13 us, Times measured: 2925077

Data block read/claim time: Avg: 1008 us, Times measured: 11235

Data block write time: Avg: 221 us

1000 change vector apply time: Avg: 24997 us, Times measured: 2605

Ratio Information:

# of log blocks measured: 2369937

# of data blocks measured: 154101

# of change vectors measured: 2634141

 

 

 

/***备库映射记录***dg***/ 

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

STANDBY DATABASE MAP RECORDS

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

 (size = 400, compat size = 400, section max = 31, section in-use = 31,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 163, numrecs = 31)

 

 

 

/**还原点记录***/ 

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

RESTORE POINT RECORDS

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

 (size = 212, compat size = 212, section max = 2048, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 164, numrecs = 2048)

 

 

 

/***acn服务记录,acm不懂***/ 

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

ACM SERVICE RECORDS

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

 (size = 104, compat size = 104, section max = 64, section in-use = 6,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 259, numrecs = 64)

ACM record=1

  id=0

  descrip=ACM unit testing operation

  attr=1

  ver=0

  exptime=0

  cpid=0

  cinst=0

  phase=1

--中间略

ACM record=6

  id=5

  descrip=RAC-wide SGA

  attr=1

  ver=0

  exptime=0

  cpid=0

  cinst=0

  phase=1

 

 

 

/***日志文件历史记录*****/ 

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

LOG FILE HISTORY RECORDS

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

 (size = 56, compat size = 56, section max = 584, section in-use = 584,

  last-recid= 882, old-recno = 7, last-recno = 6)

 (extent = 1, blkno = 95, numrecs = 292)

 (extent = 2, blkno = 297, numrecs = 292)

 /***最早与最新****/

Earliest record:

 RECID #299 Recno 7 Record timestamp  03/15/13 23:56:27 Thread=1 Seq#=299 Link-Recid=298 kccic-Recid=1

  Low scn: 0x0000.005a2e5a 03/15/13 23:55:02 Next scn: 0x0000.005a5749

Latest record:

 RECID #882 Recno 6 Record timestamp  03/30/13 17:38:36 Thread=1 Seq#=882 Link-Recid=881 kccic-Recid=1

  Low scn: 0x0000.00aca56e 03/30/13 17:38:00 Next scn: 0x0000.00aca58e

 

 

 

/***离线范围记录****同上*****/ 

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

OFFLINE RANGE RECORDS

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

 (size = 200, compat size = 200, section max = 163, section in-use = 1,

  last-recid= 1, old-recno = 1, last-recno = 1)

 (extent = 1, blkno = 96, numrecs = 163)

Earliest record:

 RECID #1 Recno 1 Record timestamp  03/25/13 16:08:09 File=21 Link-Recid=0 kccic-Recid=1

 Offline scn: 0x0000.00a1231a

 Online checkpointed at scn: 0x0000.00a124a5 03/25/13 15:54:41

 thread:1 rba:(0x333.406f7.10)

Latest record:

 RECID #1 Recno 1 Record timestamp  03/25/13 16:08:09 File=21 Link-Recid=0 kccic-Recid=1

 Offline scn: 0x0000.00a1231a

 Online checkpointed at scn: 0x0000.00a124a5 03/25/13 15:54:41

 thread:1 rba:(0x333.406f7.10)

 

 

 

 

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

ARCHIVED LOG RECORDS

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

 (size = 584, compat size = 584, section max = 90, section in-use = 57,

  last-recid= 57, old-recno = 1, last-recno = 57)

 (extent = 1, blkno = 98, numrecs = 28)

 (extent = 2, blkno = 298, numrecs = 62)

Earliest record:

 RECID #1 Recno 1 Record timestamp  03/26/13 11:41:18 Thread=1 Seq#=826

  Flags: 

  Resetlogs scn and time scn: 0x0000.00000001 12/31/12 14:25:05

  filename D:\ARCHIVE\ARC0000000826_0803485505.0001

  Low scn: 0x0000.00a20e73 03/26/13 09:04:39 Next scn: 0x0000.00a22ebc 03/26/13 11:41:17

  Block count=27049  Blocksize=512

Latest record:

 RECID #57 Recno 57 Record timestamp  03/30/13 17:38:36 Thread=1 Seq#=882

  Flags: 

  Resetlogs scn and time scn: 0x0000.00000001 12/31/12 14:25:05

  filename D:\ARCHIVE\ARC0000000882_0803485505.0001

  Low scn: 0x0000.00aca56e 03/30/13 17:38:00 Next scn: 0x0000.00aca58e 03/30/13 17:38:36

  Block count=29  Blocksize=512

 

 

 

 

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

FOREIGN ARCHIVED LOG RECORDS

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

 (size = 604, compat size = 604, section max = 1002, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 260, numrecs = 1002)

 

 

 

 

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

BACKUP SET RECORDS

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

 (size = 40, compat size = 40, section max = 409, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 99, numrecs = 409)

 

 

 

 

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

BACKUP PIECE RECORDS

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

 (size = 736, compat size = 736, section max = 200, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 100, numrecs = 200)

 

 

 

 

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

BACKUP DATAFILE RECORDS

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

 (size = 200, compat size = 200, section max = 245, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 109, numrecs = 245)

 

 

 

 

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

BACKUP LOG RECORDS

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

 (size = 76, compat size = 76, section max = 215, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 112, numrecs = 215)

 

 

 

 

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

DATAFILE COPY RECORDS

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

 (size = 736, compat size = 736, section max = 200, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 113, numrecs = 200)

 

 

 

 

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

BACKUP DATAFILE CORRUPTION RECORDS

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

 (size = 44, compat size = 44, section max = 371, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 122, numrecs = 371)

 

 

 

 

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

DATAFILE COPY CORRUPTION RECORDS

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

 (size = 40, compat size = 40, section max = 409, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 123, numrecs = 409)

 

 

 

 

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

DELETION RECORDS

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

 (size = 20, compat size = 20, section max = 818, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 124, numrecs = 818)

 

 

 

 

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

PROXY COPY RECORDS

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

 (size = 928, compat size = 928, section max = 246, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 125, numrecs = 246)

 

 

 

 

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

INCARNATION RECORDS

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

 (size = 56, compat size = 56, section max = 292, section in-use = 1,

  last-recid= 1, old-recno = 1, last-recno = 1)

 (extent = 1, blkno = 141, numrecs = 292)

Earliest record:

 RECID #1 Recno 1 Record timestamp 

  Resetlogs scn and time scn: 0x0000.00000001 12/31/12 14:25:05

  Previous Resetlogs scn and time scn: 0x0000.00000000 01/01/88 00:00:00

 Incarnation (parent inc#, flag)=(0, 2)

Latest record:

 RECID #1 Recno 1 Record timestamp 

  Resetlogs scn and time scn: 0x0000.00000001 12/31/12 14:25:05

  Previous Resetlogs scn and time scn: 0x0000.00000000 01/01/88 00:00:00

 Incarnation (parent inc#, flag)=(0, 2)

 

 

 

 

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

RMAN STATUS RECORDS

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

 (size = 116, compat size = 116, section max = 141, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 158, numrecs = 141)

 

 

 

 

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

DATAFILE HISTORY RECORDS

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

 (size = 568, compat size = 568, section max = 57, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 161, numrecs = 57)

 

 

 

 

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

NORMAL RESTORE POINT RECORDS

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

 (size = 212, compat size = 212, section max = 2083, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 191, numrecs = 2083)

 

 

 

 

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

DATABASE BLOCK CORRUPTION RECORDS

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

 (size = 80, compat size = 80, section max = 8384, section in-use = 0,

  last-recid= 0, old-recno = 0, last-recno = 0)

 (extent = 1, blkno = 218, numrecs = 8384)

*** END OF DUMP ***

1,控制文件是数据库的集中配置中心,所在的元数据全在此集中

2,控制文件中时时不离scn,它会采用心跳与datafile,redo同步

3,rba与controlfile,datafile,tablespace的关系十分密切
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: