Presentation is loading. Please wait.

Presentation is loading. Please wait.

CPSC-608 Database Systems Fall 2011 Instructor: Jianer Chen Office: HRBB 315C Phone: 845-4259 Notes #13.

Similar presentations


Presentation on theme: "CPSC-608 Database Systems Fall 2011 Instructor: Jianer Chen Office: HRBB 315C Phone: 845-4259 Notes #13."— Presentation transcript:

1 CPSC-608 Database Systems Fall 2011 Instructor: Jianer Chen Office: HRBB 315C Phone: 845-4259 Email: chen@cse.tamu.edu Notes #13

2 Coping with System Failures System may fail because of Program or data errors Disk crashes Computer room fires System fails (power off, code execution errors)

3 Coping with System Failures System may fail because of Program or data errors Disk crashes Computer room fires System fails (power off, code execution errors) System programs cannot help }

4 Coping with System Failures System may fail because of Program or data errors Disk crashes Computer room fires System fails (power off, code execution errors) A recovery program may help

5 Coping with System Failures Facts Main memory is volatile; Disk is non-volatile.

6 Coping with System Failures What we want to recover: Partial changes by a transaction

7 Coping with System Failures What we want to recover: Partial changes by a transaction What is a transaction? Some thing you want it be a single logic step

8 Coping with System Failures What we want to recover: Partial changes by a transaction What is a transaction? Some thing you want it be a single logic step What is a logic step? ACID: Atomicity, Consistency, Isolation, and Durability

9 secondary storage (disks) database administrator DDL language database programmer DML (query) language DBMS file manager buffer manager main memory buffers index/file manager DML complier DDL complier query execution engine transaction manager concurrency control lock table logging & recovery Graduate Database

10 secondary storage (disks) database administrator DDL language database programmer DML (query) language DBMS file manager buffer manager main memory buffers index/file manager DML complier DDL complier query execution engine transaction manager concurrency control lock table logging & recovery Graduate Database


Download ppt "CPSC-608 Database Systems Fall 2011 Instructor: Jianer Chen Office: HRBB 315C Phone: 845-4259 Notes #13."

Similar presentations


Ads by Google