Lecture
It is clear that in order to achieve isolation of transactions, the DBMS should use any methods of regulating the joint execution of transactions.
A plan (method) of executing a set of transactions is called serial if the result of the joint execution of transactions is equivalent to the result of some sequential execution of the same transactions.
Transaction serialization is a mechanism for performing them according to some serial plan. The provision of such a mechanism is the main function of the DBMS component responsible for managing transactions. A system that supports transaction serialization provides real user isolation.
The main implementation problem is to choose a method for serializing a set of transactions that would not limit their parallelism too much. A trivial solution that comes to mind is the truly sequential execution of transactions. But there are situations in which operators of different transactions can be executed in any order while maintaining seriality. Examples are only read transactions, as well as transactions that do not conflict over database objects.
The following types of conflicts can exist between transactions:
Practical methods of transaction serialization are based on accounting for these conflicts.
Comments
To leave a comment
Databases IBM System R - relational DBMS
Terms: Databases IBM System R - relational DBMS