Cơ sở dữ liệu - Chương 2: Sao lưu và phục hồi dữ liệu

Các trường hợp lỗi The database may become unavailable for use due to Transaction failure: Transactions may fail because of incorrect input, deadlock, incorrect synchronization. System failure: System may fail because of addressing error, application error, operating system fault, RAM failure, etc. Media failure: Disk head crash, power disruption, etc.

pptx35 trang | Chia sẻ: huyhoang44 | Lượt xem: 580 | Lượt tải: 0download
Bạn đang xem trước 20 trang tài liệu Cơ sở dữ liệu - Chương 2: Sao lưu và phục hồi dữ liệu, để xem tài liệu hoàn chỉnh bạn click vào nút DOWNLOAD ở trên
Chương 2 Sao lưu và phục hồi dữ liệuHuỳnh HọcEmail: huynhhoc@gmail.comNỘI DUNG1. Giao tác2. Mục đích của Recovery3. Các trường hợp lỗi4. Mô hình Recovery5. BackupTransactionTransaction (giao tác): là một hành động, hoặc một loạt các hành động, thực hiện bởi người dung hoặc chương trình ứng dụng để đọc hoặc cập nhật nội dung của database.Slide 19- 4Mục đích của phục hồi dữ liệuTo bring the database into the last consistent state, which existed prior to the failure.To preserve transaction properties (Atomicity, Consistency, Isolation and Durability).Example:If the system crashes before a fund transfer transaction completes its execution, then either one or both accounts may have incorrect value. Thus, the database must be restored to the state before the transaction modified any of the accounts. Slide 19- 5Các trường hợp lỗiThe database may become unavailable for use due to Transaction failure: Transactions may fail because of incorrect input, deadlock, incorrect synchronization.System failure: System may fail because of addressing error, application error, operating system fault, RAM failure, etc.Media failure: Disk head crash, power disruption, etc.Transaction logMô hình RecoveryMô hình RecoveryMô hình RecoveryCác mô hình RecoveryCác mô hình RecoveryCác mô hình RecoveryBackupBackupBackupBackupBackupBackupBackupBackupBackupBackupBackupBackupBackupBackupBackupBackupBackupBackupBackupBackupBackupBackupTài liệu tham khảo1. Bài giảng “Kiến trúc và cài đặt DBMS, Th.S Nguyễn Phi Loan, Khoa CNTT - Trường Đại học CN Tp.HCM

Các file đính kèm theo tài liệu này:

  • pptxchuong_2_sao_luu_va_phuc_hoi_du_lieu_986.pptx