Instant Recovery with Write-Ahead Logging: Page Repair, System Restart, and Media Restore (Synthesis Lectures on Data Management)
暫譯: 即時恢復與預寫日誌:頁面修復、系統重啟與媒體還原(數據管理綜合講座)
Goetz Graefe, Wey Guy, Caetano Sauer
- 出版商: Morgan & Claypool
- 出版日期: 2014-11-01
- 售價: $2,090
- 貴賓價: 9.5 折 $1,986
- 語言: 英文
- 頁數: 85
- 裝訂: Paperback
- ISBN: 1627055541
- ISBN-13: 9781627055543
海外代購書籍(需單獨結帳)
相關主題
商品描述
Traditional theory and practice of write-ahead logging and of database recovery techniques revolve around three failure classes: transaction failures resolved by rollback; system failures (typically software faults) resolved by restart with log analysis, ""redo,"" and ""undo"" phases; and media failures (typically hardware faults) resolved by restore operations that combine multiple types of backups and log replay. The recent addition of single-page failures and single-page recovery has opened new opportunities far beyond its original aim of immediate, lossless repair of single-page wear-out in novel or traditional storage hardware. In the contexts of system and media failures, efficient single-page recovery enables on-demand incremental ""redo,"" and ""undo"" as part of system restart or media restore operations. This can give the illusion of practically instantaneous restart and restore: instant restart permits processing new queries and updates seconds after system reboot and instant restore permits resuming queries and updates on empty replacement media as if those were already fully recovered. In addition to these instant recovery techniques, the discussion introduces much faster offline restore operations without slowdown in backup operations and with hardly any slowdown in log archiving operations. The new restore techniques also render differential and incremental backups obsolete, complete backup commands on the database server practically instantly, and even permit taking full backups without imposing any load on the database server.
商品描述(中文翻譯)
傳統的預寫日誌(write-ahead logging)理論與資料庫恢復技術圍繞著三種故障類別展開:透過回滾(rollback)解決的交易故障;透過重啟(restart)及日誌分析(log analysis)、重做("redo")和撤銷("undo")階段解決的系統故障(通常是軟體錯誤);以及透過結合多種備份和日誌重播(log replay)的恢復操作解決的媒體故障(通常是硬體錯誤)。最近,單頁故障(single-page failures)和單頁恢復(single-page recovery)的引入,為其原本旨在即時、無損修復單頁磨損的傳統或新型儲存硬體開啟了新的機會。在系統和媒體故障的背景下,高效的單頁恢復使得按需增量的重做和撤銷成為可能,作為系統重啟或媒體恢復操作的一部分。這可以給人一種幾乎瞬時重啟和恢復的錯覺:即時重啟允許在系統重啟幾秒後處理新的查詢和更新,而即時恢復則允許在空的替換媒體上恢復查詢和更新,彷彿這些媒體已經完全恢復。除了這些即時恢復技術,討論還引入了更快的離線恢復操作,這些操作在備份操作中幾乎不會減慢速度,並且在日誌歸檔操作中幾乎沒有任何減慢。這些新的恢復技術還使得差異備份(differential backups)和增量備份(incremental backups)變得過時,幾乎瞬時地在資料庫伺服器上完成完整備份命令,甚至允許在不對資料庫伺服器施加任何負載的情況下進行完整備份。