Chapter 10 Dbms
Chapter 10 Dbms
Chapter 10 Dbms
and Theory
are systems with large databases and hundreds of concurrent users executing
correctness.
updates.
Transaction boundaries:
SLIDE-3
The size of a data item is called its granularity(size of data that is allowed
to be locked).
independent of the data item granularity (size) and apply to data items in
general. Each data item has a unique name, but this name is not typically used
item.
steps:
2. Copy that disk block into a buffer in main memory (if that disk block is
2. Copy that disk block into a buffer in main memory (if that disk block is
3. Copy item X from the program variable named X into its correct location in
the buffer.
4. Store the updated block from the buffer back to disk (either immediately
ever it gets its turn to use the CPU again. Hence, concurrent execution of
the types of problems we may encounter with these two simple transactions if
this point it may be necessary to check whether the changes introduced by752
Active Begin transaction End transaction Commit Abort Abort Read, Write
■ ROLLBACK (or ABORT). This signals that the transaction has ended unsuc
cessfully, so that any changes or effects that the transaction may have applied