Oracle恢複內部原理:基礎資料結構

來源:互聯網
上載者:User

基礎資料結構

2.1  控制檔案

控制檔案包含了資料庫中所有其他檔案的狀態資訊。

控制檔案包含了如下幾類資料:

A.      資料庫資訊記錄(一條)

B.      資料檔案記錄(每個資料檔案一條)

C.      線程記錄(每個線程一條。註:每個執行個體一個線程)

D.      記錄檔記錄(每個記錄檔一條)

E.       檔案名稱記錄(每個資料檔案或者記錄檔成員一條)

F.       日誌記錄(每個已經完成的記錄檔一條)

控制檔案的被後面文檔引用到的欄位如下,後面是引用該欄位的章節:

2.1.1  資料庫資訊記錄(控制檔案)

所含欄位:

A. resetlogs timestamp: 8.2

B. resetlogs scn: 8.2

C. enabled thread bitvec: 8.3

D. force archiving scn: 3.8

E.  database checkpoint thread(thread record index) : 2.13, 3.10

2.1.3  資料檔案記錄(控制檔案)

A. thread checkpoint structure: 2.12, 3.4, 8.3

B. thread-open flag: 3.9, 3.11, 8.3

C. current log (logfile record index)

D. head and tail (logfile record indices) of list of logfiles in thread: 2.8

2.1.4  記錄檔記錄(控制檔案)

A. log sequence number: 2.7

B. thread number: 8.4

C. next and previous (logfile record indices) of list of logfiles in thread: 2.8

D. count of files in group: 2.8

E.  low SCN: 2.7

F.  next SCN: 2.7

G. head and tail (filename record indices) of list of filenames in group: 2.8

H. "being cleared" flag: 10.3

I.   "archiving not needed" flag: 10.3

2.1.5  檔案名稱記錄(控制檔案)

A. filename

B. filetype

C. next and previous (filename record indices) of list of filenames in group: 2.8

2.1.6  記錄檔記錄(控制檔案)

A. thread number: 2.11

B. log sequence number: 2.11

C. low SCN: 2.11

D. low SCN timestamp: 2.11

E.  next SCN: 2.11

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.