一、block address(ondisk rba 在9.2 后作廢)
1.uba=Undofile BA it培訓(xùn)機(jī)構(gòu)
1 BA=dbfile 文件號、塊號、行號 rdba=tablespace Relative Database BA
2 BA=logfile 序列號,logfile 塊號,偏移長度
二、low cache rba與low rba
1.low cache rba =檢查點(diǎn)位置 =就是CKPT記錄的DBWR寫的進(jìn)度 =low cache rba 以前的更前的已經(jīng)寫入數(shù)據(jù)文件
2. 當(dāng)前redo logfile 的low scn(first_change#)
SQL> select sequence#,status,first_change# from v$log; SEQUENCE# STATUS FIRST_CHANGE#
5 INACTIVE
|
566751
|
6 CURRENT
|
589819
|
4 INACTIVE
|
531541
|
first_change#表示當(dāng)前redo log 的low scn, 實例恢復(fù)只會用到當(dāng)前redo log file(原因:日志切換時觸發(fā)CKPT寫了臟塊)
3.補(bǔ)充知識:
next_change#表示當(dāng)前redo log 的high scn
select sequence#,first_change# from v$log; select sequence#,first_change from v$log_history; Redo log 會順序紀(jì)錄數(shù)據(jù)庫的各個變化。一組redo log 文件寫滿后,會自動切
換到下一組redo log文件。則上一組redo log的high scn就是下一組redo log的low scn。
posted on 2013-08-15 17:07
親愛的小孩 閱讀(102)
評論(0) 編輯 收藏