第1行到第22行的内容为控制文件的头信息,这部分内容的解释参见《转储控制文件头》。控制文件头  
  1. Dump file e:\oracle\admin\test\udump\test_ora_376.trc  
  2. Fri May 14 15:09:52 2004  
  3. ORACLE V9.2.0.1.0 - Production vsnsta=0  
  4. vsnsql=12 vsnxtr=3  
  5. Windows 2000 Version 5.0 Service Pack 4, CPU type 586  
  6. Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production  
  7. With the Partitioning, OLAP and Oracle Data Mining options  
  8. JServer Release 9.2.0.1.0 - Production  
  9. Windows 2000 Version 5.0 Service Pack 4, CPU type 586  
  10. Instance name: test  
  11. Redo thread mounted by this instance: 1  
  12. Oracle process number: 13  
  13. Windows thread id: 376, image: ORACLE.EXE  
  14. *** 2004-05-14 15:09:52.000  
  15. *** SESSION ID:(10.21) 2004-05-14 15:09:52.000  
  16. DUMP OF CONTROL FILES, Seq # 2929 = 0xb71  
  =======第17行到第22行为通用文件头========  
  17.FILE HEADER:  
  18. Software vsn=153092096=0x9200000, Compatibility Vsn=134217728=0x8000000  
  19. Db ID=1750352942=0x6854442e, Db Name='TEST1'  
  20. Activation ID=0=0x0  
  21. Control Seq=2929=0xb71, File size=228=0xe4  
  22. File Number=0, Blksiz=8192, File Type=1 CONTROL  
  **************************控制文件头信息结束****************************  
  数据库项  
  23.**********************************************************************  
  24.DATABASE ENTRY  
  25.**********************************************************************  
  26. (blkno = 0x1, size = 192, max = 1, in-use = 1, last-recid= 0)  
  blkno  
  size指出数据库项的字节数,本例中为192byte;  
  max指出最大的块  
  in-use当前正在使用的块  
  last-recid  
  27. DF Version: creation=0x9200000 compatible=0x8000000, Date 07/13/2003 14:30:51  
  数据文件的版本是9.2.0,兼容版本是8.0  
  28. DB Name "TEST1"  
  数据库名为"TEST1"  
  29. Database flags = 0x00404001  
  30. Controlfile Creation Timestamp 07/13/2003 14:30:52  
  控制文件的创建时间  
  31. Incmplt recovery scn: 0x0000.00000000  
  如果数据库进行过不完全回复,我们可以看出  
  32. Resetlogs scn: 0x0000.04ada796 Resetlogs Timestamp 07/13/2003 14:34:39  
  启用Resetlogs时的scn值和时戳,  
  33. Prior resetlogs scn: 0x0000.04a0b855 Prior resetlogs Timestamp 04/11/2003 09:59:18  
  启用Resetlogs之前的scn值和时戳  
  Oracle不能够应用Resetlogs之前的重做日志(redo log file)。  
  34. Redo Version: creation=0x9200000 compatable=0x9200000  
  重做日志文件的版本是9.2.0,兼容版本是8.0  
  35. #Data files = 12, #Online files = 12  
  数据库总共有12个数据文件,并且这12个文件全部处在联机(online)状态  
  36. Database checkpoint: Thread=1 scn: 0x0000.04b9d858  
  37. Threads: #Enabled=1, #Open=1, Head=1, Tail=1  
  当前启用了一个线程,当然,也仅仅打开了这一个线程  
  38. enabled threads: 01000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000  
  39. Max log members = 3, Max data members = 1  
  数据库允许每个日志组最多有3个log member;  
  Oracle目前还不支持数据文件的多路复用,因此,Max data members的值为1,这个条目是为以后的版本升级而预留的。  
  40. Arch list: Head=3, Tail=3, Force scn: 0x0000.04b93016scn: 0x0000.04b9d857  
  请注意Force scn,凡是开始scn小于Force scn的重做都被归档。强制scn是所有重做都被归档的scn。  
  41. Controlfile Checkpointed at scn: 0x0000.04b9d85a 05/14/2004 08:37:00  
  当前控制文件Checkpointed时的scn为0x0000.04b9d85a???  
  42. thread:0 rba:(0x0.0.0)  
  43. enabled threads: 00000000 00000000 00000000 00000000 00000000 00000000  
  00000000 00000000  
  检查点进度记录(该项从Oracle8开始引入)
  44.**********************************************************************  
  45.CHECKPOINT PROGRESS RECORDS  
  46. **********************************************************************  
  检查点进度记录这个条目是从Oracle 8开始出现在控制文件中的。该项目主要用来记录缓冲区高速缓存的状态,每个记录占用控制文件的一个块。  
  47. (blkno = 0x4, size = 104, max = 1, in-use = 1, last-recid= 0)  
  48. THREAD #1 - status:0x2 flags:0x0 dirty:15  
  线程信息,  
  49. low cache rba:(0x20.1f0.0) on disk rba:(0x20.204.0)  
  低速缓存rba(recovery block address)指出了在实例回复或者崩溃恢复中,需要恢复的重做开始值(即,重做日志文件中的一个块地址);  
  on disk rba是磁盘上的最高的重做值,在进行实力恢复应用重做的时候必须达到这个值。如果on disk rba  
  50. on disk scn: 0x0000.04b9f6e2 05/14/2004 15:06:42  
  on disk scn是on disk rba处的scn值  
  51. resetlogs scn: 0x0000.04ada796 07/13/2003 14:34:39  
  启用Resetlogs时的scn值和时戳,和数据库项中的相应条目是一致的  
  52. heartbeat: 526099342 mount id: 903127902  
  53. MTTR statistics status: 3  
  54. Init time: Avg: 23012858, Times measured: 3  
  55. File open time: Avg: 123550, Times measured: 43  
  56. Log block read time: Avg: 182, Times measured: 32758  
  57. Data block handling time: Avg: 22934, Times measured: 135  
  扩展的数据库项(该项从Oracle9i开始引入)
  58. ***********************************************************************  
  59. EXTENDED DATABASE ENTRY  
  60. ***********************************************************************  
  61. (blkno = 0x71, size = 276, max = 1, in-use = 1, last-recid= 0)  
  62. Control AutoBackup date(dd/mm/yyyy)=13/ 7/2003  
  63. Next AutoBackup sequence= 0  
  重做线程项
  64.**********************************************************************  
  65.REDO THREAD RECORDS  
  66.**********************************************************************  
  67. (blkno = 0x4, size = 104, max = 1, in-use = 1, last-recid= 0)  
  68. THREAD #1 - status:0xf thread links forward:0 back:0  
  69. #logs:4 first:1 last:4 current:3 last used seq#:0x20  
  这个条目说明数据库中总共有4个日志文件组,第一个组为log #1(log group 1);最后一个组为log #4(log group 4),当前正在使用的是log #3(log group 3)  
  70. enabled at scn: 0x0000.04ada796 07/13/2003 14:34:39  
  启用线程1时的scn值  
  71. disabled at scn: 0x0000.00000000 01/01/1988 00:00:00  
  禁用线程1时的scn值,因为该线程目前处于打开状态,所以该值为无穷大  
  72. opened at 05/14/2004 08:36:59 by instance test  
  打开线程的时戳,当前线程以及被哪个实例打开  
  73. Checkpointed at scn: 0x0000.04b9d858 05/14/2004 08:36:59  
  74. thread:1 rba:(0x20.2.10)  
  75. enabled threads: 01000000 00000000 00000000 00000000 00000000 00000000  
  76. 00000000 00000000  
  77. log history: 31  
  日志文件项
  78.**********************************************************************  
  79.LOG FILE RECORDS  
  80.**********************************************************************  
  81. (blkno = 0x5, size = 72, max = 5, in-use = 4, last-recid= 4)  
  82.LOG FILE #1:  
  83. (name #5) E:\ORACLE\ORA92\TEST\REDO01.LOG  
  84. Thread 1 redo log links: forward: 2 backward: 0
  < 
查看本文来源
 
  311. DATA FILE #12: <deleted>  
  312.creation size=1280 block size=8192 status=0x800 head=0 tail=0 dup=0  
  313.tablespace 18, index=14 krfil=12 prev_file=0  
  314.unrecoverable scn: 0x0000.00000000 01/01/1988 00:00:00  
  315.Checkpoint cnt:3 scn: 0x0000.04b7e874 05/10/2004 16:45:12  
  316.Stop scn: 0x0000.04b7e874 05/10/2004 16:45:12  
  317.Creation Checkpointed at scn: 0x0000.04b7e496 05/10/2004 16:04:32  
  318.thread:1 rba:(0x1a.17d.10)  
  319.enabled threads: 01000000 00000000 00000000 00000000 00000000 00000000  
  320.00000000 00000000  
  321.Offline scn: 0x0000.00000000 prev_range: 0  
  322.Online Checkpointed at scn: 0x0000.00000000  
  323.thread:0 rba:(0x0.0.0)  
  324.enabled threads: 00000000 00000000 00000000 00000000 00000000 00000000  
  325.00000000 00000000  
  326.Hot Backup end marker scn: 0x0000.00000000  
  327.aux_file is NOT DEFINED  
  328. DATA FILE #13: <deleted>  
  329.creation size=0 block size=0 status=0x0 head=0 tail=0 dup=0  
  330.tablespace 0, index=0 krfil=0 prev_file=0  
  331.unrecoverable scn: 0x0000.00000000 01/01/1988 00:00:00  
  332.Checkpoint cnt:0 scn: 0x0000.00000000 01/01/1988 00:00:00  
  333.Stop scn: 0x0000.00000000 01/01/1988 00:00:00  
  334.Creation Checkpointed at scn: 0x0000.00000000  
  335.thread:0 rba:(0x0.0.0)  
  336.enabled threads: 00000000 00000000 00000000 00000000 00000000 00000000  
  337.00000000 00000000  
  338.Offline scn: 0x0000.00000000 prev_range: 0  
  339.Online Checkpointed at scn: 0x0000.00000000  
  340.thread:0 rba:(0x0.0.0)  
  341.enabled threads: 00000000 00000000 00000000 00000000 00000000 00000000  
  342.00000000 00000000  
  343.Hot Backup end marker scn: 0x0000.00000000  
  344.aux_file=0  
  345. DATA FILE #14:  
  346.(name #6) E:\ORACLE\ORA92\TEST\XPRT01.DBF  
  347.creation size=0 block size=8192 status=0xe head=6 tail=6 dup=1  
  348.tablespace 16, index=12 krfil=14 prev_file=0  
  349.unrecoverable scn: 0x0000.00000000 01/01/1988 00:00:00  
  350.Checkpoint cnt:187 scn: 0x0000.04b9d858 05/14/2004 08:36:59  
  351.Stop scn: 0xffff.ffffffff 05/13/2004 20:18:03  
  352.Creation Checkpointed at scn: 0x0000.04a3fd9c 05/28/2003 15:06:11  
  353.thread:0 rba:(0x0.0.0)  
  354.enabled threads: 00000000 00000000 00000000 00000000 00000000 00000000  
  355.00000000 00000000  
  356.Offline scn: 0x0000.04ada795 prev_range: 0  
  357.Online Checkpointed at scn: 0x0000.04ada796 07/13/2003 14:34:39  
  358.thread:1 rba:(0x1.2.0)  
  359.enabled threads: 01000000 00000000 00000000 00000000 00000000 00000000  
  360.00000000 00000000  
  361.Hot Backup end marker scn: 0x0000.00000000  
  362.aux_file is NOT DEFINED    
临时文件记录项(该项从Oracle9i开始引入)    363. ******************************************************************  
  364. TEMP FILE RECORDS  
  365. ******************************************************************  
  366.(blkno = 0x12, size = 56, max = 100, in-use = 1, last-recid= 1)  
  367.TEMP FILE #1: External File #201  
  368.(name #18) E:\ORACLE\ORA92\TEST\TEMP.DBF  
  369.creation size=2560 block size=8192 status=0xe head=18 tail=18 dup=1  
  370.tablespace 2, index=13 krfil=1 prev_file=0  
  371.unrecoverable scn: 0x0000.00000000 01/01/1988 00:00:00    
表空间记录项(该项从Oracle8开始引入)    372. ******************************************************************  
  373. TABLESPACE RECORDS  
  374. ******************************************************************  
  375.(blkno = 0x11, size = 68, max = 100, in-use = 16, last-recid= 9)  
  376.TABLESPACE #0 SYSTEM: recno=1  
  377.First datafile link=1 Tablespace Flag=0  
  378.Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00  
  379.Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00  
  380.TABLESPACE #1 UNDOTBS1: recno=2  
  381.First datafile link=2 Tablespace Flag=0  
  382.Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00  
  383.Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00  
  384.TABLESPACE #3 DRSYS: recno=3  
  385.First datafile link=3 Tablespace Flag=0  
  386.Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00  
  387.Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00  
  388.TABLESPACE #4 INDX: recno=4  
  389.First datafile link=4 Tablespace Flag=0  
  390.Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00  
  391.Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00  
  392.TABLESPACE #5 TOOLS: recno=5  
  393.First datafile link=5 Tablespace Flag=0  
  394.Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00  
  395.Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00  
  396.TABLESPACE #6 USERS: recno=6  
  397.First datafile link=6 Tablespace Flag=0  
  398.Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00  
  399.Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00  
  400.TABLESPACE #7 XDB: recno=7  
  401.First datafile link=7 Tablespace Flag=0  
  402.Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00  
  403.Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00  
  404.TABLESPACE #11 TEST: recno=8  
  405.First datafile link=8 Tablespace Flag=0  
  406.Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00  
  407.Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00  
  408.TABLESPACE #9 RMAN: recno=9  
  409.First datafile link=9 Tablespace Flag=0  
  410.Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00  
  411.Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00  
  412.TABLESPACE #12 PERFSTAT: recno=10  
  413.First datafile link=10 Tablespace Flag=0  
  414.Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00  
  415.Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00  
  416.TABLESPACE #8 UNDOTBS2: recno=11  
  417.First datafile link=11 Tablespace Flag=0  
  418.Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00  
  419.Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00  
  420.TABLESPACE #16 XPRT: recno=12  
  421.First datafile link=14 Tablespace Flag=0  
  422.Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00  
  423.Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00:00  
  424.TABLESPACE #2 TEMP: recno=13  
  425.First datafile link=1 Tablespace Flag=1  
  426.Tablespace PITR mode start scn: 0x0000.00000000 01/01/1988 00:00:00  
  427.Tablespace PITR last completion scn: 0x0000.00000000 01/01/1988 00:00: 
查看本文来源