一、block address(ondisk rba 在9.2 后作廢)
1.uba=Undofile BA it培訓(xùn)機(jī)構(gòu)
1 BA=dbfile 文件號(hào)、塊號(hào)、行號(hào) rdba=tablespace Relative Database BA
2 BA=logfile 序列號(hào),logfile 塊號(hào),偏移長(zhǎng)度
二、low cache rba與low rba
1.low cache rba =檢查點(diǎn)位置 =就是CKPT記錄的DBWR寫(xiě)的進(jìn)度 =low cache rba 以前的更前的已經(jīng)寫(xiě)入數(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, 實(shí)例恢復(fù)只會(huì)用到當(dāng)前redo log file(原因:日志切換時(shí)觸發(fā)CKPT寫(xiě)了臟塊)
3.補(bǔ)充知識(shí):
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 會(huì)順序紀(jì)錄數(shù)據(jù)庫(kù)的各個(gè)變化。一組redo log 文件寫(xiě)滿后,會(huì)自動(dòng)切
換到下一組redo log文件。則上一組redo log的high scn就是下一組redo log的low scn。