























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Notes on advanced database systems, focusing on data integrity and constraints, transaction recovery, and related topics. It covers concepts such as crash recovery, consistency, constraints, transaction constraints, undo and redo logging, and recovery rules. The document also discusses the importance of preventing and fixing violations of constraints and the role of undo and redo logging in ensuring database consistency.
Typology: Slides
1 / 63
This page cannot be seen from the preview
Don't miss anything!
























































1
2
4
5
7
Note: could be āemulatedā by simple constraints, e.g.,
account (^) Acct # ā¦. balance deleted?
8
Example 2 Database should reflect real world
DB
Reality
10
a 2
TOT
.. 50 .. 1000
.. 150 .. 1000
.. 150 .. 1100
Example: a 1 + a 2 +ā¦. a n = TOT ( constraint )
Deposit $100 in a 2 : a 2 ā a 2 + 100 TOT ā TOT + 100
11
Consistent DB T Consistent DBā
13
14
16
17
19
processor
memory disk
CPU
M (^) D
20
Desired events: see product manualsā¦.
Undesired expected events: System crash
Undesired Unexpected: Everything else!
thatās it!!