6. A transaction reads an object updated by another
transaction before the other transaction commits
(that later fails)
The value used by the second transaction is :
Phantom Value
Uncommitted Dependency
(Dirty Read)
7. Transactions
reads several
values, but
another
transaction
updates some
of the values
while the first
transaction is
still executing.
Inconsistent Retrieval /
Incorrect Summary
8. Lock method sets an exclusive lock on the item, and
refreshes any unchanged cache data for the item.
Item get unlocked when the transaction ended by the
abort or commit method.
Lock Method
9. Will request for the lock before performing read/write
operation.
Will not allow to perform the read/write without
getting the lock.
Lock manager is responsible for managing all locks in
the system
Locking Protocol
10. Lock is a variable attached with any resource to
control resource access by its users.
Lock
11. Exclusive (X Lock) (Write Lock) - when the
transaction intension is to write.
One transaction can have this lock.
Exclusive (X Lock)
12. Shared (S Lock) (Read Lock) – are locks for read only.
Shared (S Lock)