freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

華中科技大學(xué)數(shù)據(jù)庫課件第10章數(shù)據(jù)庫恢復(fù)技術(shù)-資料下載頁

2025-05-13 17:50本頁面
  

【正文】 主數(shù)據(jù)的一致性 169。 2021 by 67 An Introduction to Database System 數(shù)據(jù)庫鏡像 鏡像的作用 ? 出現(xiàn)介質(zhì)故障時(shí) ? DBMS自動(dòng)利用鏡像磁盤數(shù)據(jù)進(jìn)行數(shù)據(jù)庫的恢復(fù),不需要關(guān)閉系統(tǒng)和重裝數(shù)據(jù)庫副本 (圖 ) ? 沒有出現(xiàn)故障時(shí) ? 可用于并發(fā)操作 (圖 ); 一個(gè)用戶對數(shù)據(jù)加排他鎖修改數(shù)據(jù),其他用戶可以讀鏡像數(shù)據(jù)庫上的數(shù)據(jù) 169。 2021 by 68 An Introduction to Database System 事務(wù)的基本概念 數(shù)據(jù)庫恢復(fù)概述 故障的種類 恢復(fù)的實(shí)現(xiàn)技術(shù) 恢復(fù)策略 具有檢查點(diǎn)的恢復(fù)技術(shù) 數(shù)據(jù)庫鏡像 SQL Server的恢復(fù)技術(shù) 小結(jié) 第 10章 數(shù)據(jù)庫恢復(fù)技術(shù) 169。 2021 by 69 An Introduction to Database System SQL Server的恢復(fù)技術(shù) ? 恢復(fù)模式 ? 簡單恢復(fù) (Simple Recovery) ? 完全恢復(fù) (Full Recovery) ? 批量恢復(fù) (BulkLogged Recovery) ? 備份機(jī)制 ? 數(shù)據(jù)庫備份 ? 日志備份 ? 差異備份 ? 文件及文件組備份 169。 2021 by 70 An Introduction to Database System SQL Server的恢復(fù)技術(shù) ? 演示 SQL Server的恢復(fù)技術(shù) ? 1. 創(chuàng)建數(shù)據(jù)庫、創(chuàng)建表、創(chuàng)建備份設(shè)備 ? 2. 在表中加入行 (執(zhí)行事務(wù)操作 ) ? 3. 備份數(shù)據(jù)庫 ? 4. 向該表追加若干行 ? 5. 備份事務(wù)日志 ? 6. 再向該表中加入若干行 ? 7. 人為制造故障 (Stop服務(wù)器后,刪除數(shù)據(jù)庫文件,再 Restart) ? 8. 恢復(fù)到故障點(diǎn) 169。 2021 by 71 An Introduction to Database System SQL Server的恢復(fù)技術(shù) ? 1. 建表、備份設(shè)備 create table t(no int not null primary key, moment datetime) EXEC sp_addumpdevice 39。disk39。, 39。mydiskdump39。, 39。c:\demo\39。 EXEC sp_addumpdevice 39。disk39。, 39。mylogdump39。, 39。c:\demo\39。 ? 2. 在表中加入行 (執(zhí)行事務(wù)操作 ) declare @i int select @i = 1 while @i = 3 begin insert into t values (@i, cast(getdate() as char(20))) select @i = @i + 1 end 169。 2021 by 72 An Introduction to Database System SQL Server的恢復(fù)技術(shù) ? 3. 備份數(shù)據(jù)庫 backup database example to mydiskdump ? 4. 向該表追加若干行 參考 2,再添第 4至第 7行數(shù)據(jù) ? 差異備份 * BACKUP DATABASE example TO MyDiskDump WITH DIFFERENTIAL(僅作示范,本例恢復(fù)時(shí)未用此數(shù)據(jù) ) ? 5. 備份事務(wù)日志 BACKUP LOG example TO MyLogDump1 ? 6. 再向該表中加入若干行 ? 7. 人為制造故障 (Stop服務(wù)器后,刪除數(shù)據(jù)庫文件,再Restart) 169。 2021 by 73 An Introduction to Database System SQL Server的恢復(fù)技術(shù) ? 8. 恢復(fù)到故障點(diǎn) 備份活動(dòng)日志 BACKUP LOG example TO MyLogDump2 WITH NO_TRUNCATE 還原最新的一份備份 RESTORE DATABASE example FROM MyDiskDump WITH NORECOVERY 依次恢復(fù)每個(gè)備份日志 RESTORE LOG example FROM MyLogDump1 WITH NORECOVERY 恢復(fù)最新備份的事務(wù)日志 . RESTORE LOG example FROM MyLogDump2 WITH RECOVERY 169。 2021 by 74 An Introduction to Database System 事務(wù)的基本概念 數(shù)據(jù)庫恢復(fù)概述 故障的種類 恢復(fù)的實(shí)現(xiàn)技術(shù) 恢復(fù)策略 具有檢查點(diǎn)的恢復(fù)技術(shù) 數(shù)據(jù)庫鏡像 SQL Server的恢復(fù)技術(shù) 小結(jié) 第 10章 數(shù)據(jù)庫恢復(fù)技術(shù) 169。 2021 by 75 An Introduction to Database System 小結(jié) ? 如果數(shù)據(jù)庫只包含成功事務(wù)提交的結(jié)果,就說數(shù)據(jù)庫處于一致性狀態(tài)。保證數(shù)據(jù) 一致性 是對數(shù)據(jù)庫的最基本的要求。 ? 事務(wù) 是數(shù)據(jù)庫的邏輯工作單位 DBMS保證系統(tǒng)中一切事務(wù)的 原子性 、 一致性 、 隔離性 和 持續(xù)性 ? DBMS必須對 事務(wù)故障 、 系統(tǒng)故障 和 介質(zhì)故障 進(jìn)行恢復(fù) ? 恢復(fù) 中最經(jīng)常使用的技術(shù): 數(shù)據(jù)庫轉(zhuǎn)儲(chǔ) 和登記 日志文件 ? 恢復(fù)的基本原理:利用存儲(chǔ)在 后備 副本、 日志 文件和數(shù)據(jù)庫 鏡像 中的 冗余 數(shù)據(jù)來重建數(shù)據(jù)庫 169。 2021 by 76 An Introduction to Database System 小結(jié) ? 常用的恢復(fù)技術(shù): ? 事務(wù)故障的恢復(fù) ? UNDO ? 系統(tǒng)故障的恢復(fù) ? UNDO + REDO ? 介質(zhì)故障的恢復(fù) ? 重裝備份并恢復(fù)到一致性狀態(tài) + REDO 169。 2021 by 77 An Introduction to Database System 小結(jié) ? 提高恢復(fù)效率的技術(shù) ? 檢查點(diǎn)技術(shù) ?可以提高系統(tǒng)故障的恢復(fù)效率 ?可以在一定程度上提高利用動(dòng)態(tài)轉(zhuǎn)儲(chǔ)備份進(jìn)行介質(zhì)故障恢復(fù)的效率 ? 鏡像技術(shù) ? 鏡像 技術(shù)可以改善介質(zhì)故障的恢復(fù)效率 ? SQL Server的恢復(fù)技術(shù) ? 簡單 /完全 /批量恢復(fù)模式 ? 數(shù)據(jù)庫 /日志 /差異備份 169。 2021 by 78 An Introduction to Database System 第 10章書面作業(yè) P289習(xí)題 ?1,5,7,8,9 169。 2021 by 79 An Introduction to Database System 再見
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評公示相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1