|
最初由 eygle 发布
[B]
你可能搞错了!
在dump数据文件头的时候,信息包括2部分,一部分来自控制文件,一部分来自文件头,如果你只看控制文件部分就一直没变化了。
请看以下例子:
这部分来自控制文件:
[php]
DATA FILE #4:
(name #4) /opt/oracle/oradata/eygle/eygle01.dbf
creation size=0 block size=8192 status=0xe head=4 tail=4 dup=1
tablespace 4, index=4 krfil=4 prev_file=0
unrecoverable scn: 0x0000.00000000 01/01/1988 00:00:00
Checkpoint cnt:50 scn: 0x0000.002ac5aa 08/10/2006 10:46:03
Stop scn: 0x0000.002ac5aa 08/10/2006 10:46:03
Creation Checkpointed at scn: 0x0000.0015078d 06/06/2006 09:41:54
thread:0 rba 0x0.0.0)
enabled threads: 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
Offline scn: 0x0000.00000000 prev_range: 0
Online Checkpointed at scn: 0x0000.00000000
thread:0 rba 0x0.0.0)
enabled threads: 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
Hot Backup end marker scn: 0x0000.00000000
aux_file is NOT DEFINED
[/php]
这部分才是来自文件头:
注意这里的:Checkpointed at scn: 0x0000.002ac55d 08/10/2006 10:44:29
[php]
FILE HEADER:
Software vsn=153092096=0x9200000, Compatibility Vsn=134217728=0x8000000
Db ID=1407686520=0x53e79778, Db Name='EYGLE'
Activation ID=0=0x0
Control Seq=960=0x3c0, File size=1280=0x500
File Number=4, Blksiz=8192, File Type=3 DATA
Tablespace #4 - EYGLE rel_fn:4
Creation at scn: 0x0000.0015078d 06/06/2006 09:41:54
Backup taken at scn: 0x0000.00000000 01/01/1988 00:00:00 thread:0
reset logs count:0x232bee1f scn: 0x0000.0007c781 recovered at 06/26/2006 13:44:28
status:0x0 root dba:0x00000000 chkpt cnt: 46 ctl cnt:45
begin-hot-backup file size: 0
Checkpointed at scn: 0x0000.002ac55d 08/10/2006 10:44:29
thread:1 rba 0x35.11d6.10)
enabled threads: 01000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
Backup Checkpointed at scn: 0x0000.00000000
thread:0 rba 0x0.0.0)
enabled threads: 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000
External cache id: 0x0 0x0 0x0 0x0
Absolute fuzzy scn: 0x0000.00000000
Recovery fuzzy scn: 0x0000.00000000 01/01/1988 00:00:00
Terminal Recovery Stamp scn: 0x0000.00000000 01/01/1988 00:00:00
DUMP OF TEMP FILES: 0 files in database
DUMP OF CONTROL FILES, Seq # 967 = 0x3c7
FILE HEADER:
Software vsn=153092096=0x9200000, Compatibility Vsn=134217728=0x8000000
Db ID=1407686520=0x53e79778, Db Name='EYGLE'
Activation ID=0=0x0
Control Seq=967=0x3c7, File size=228=0xe4
File Number=0, Blksiz=8192, File Type=1 CONTROL
.[/php] [/B]
多谢大师指点,现在豁然开朗,明白了很多,大师就是大师!
呵呵! |
|