software engineering
software engineering
management
Course Code: ICT-503
Credit Hours: 4(3-1)
Topic: (Transaction Isolation Levels )
Level: BS
Lecture # 7
Department of Information Technology , Government College Women University Faisalabad
Serializable schedules
• If control of concurrent execution is left entirely to the operating
system, many possible schedules, including ones that leave the
database in an inconsistent state, such as the one just described,
are possible. It is the job of the database system to ensure that
any schedule that is executed will leave the database in a
consistent state. The concurrency-control component of the
database system carries out this task. We can ensure consistency
of the database under concurrent execution by making sure that
any schedule that is executed has the same effect as a schedule
that could have occurred without any concurrent execution. That
is, the schedule should, in some sense, be equivalent to a serial
schedule. Such schedules are called Serializable schedules.
Serializability
• Serializability is the classical concurrency
scheme. It ensures that a schedule for
executing concurrent transactions is
equivalent to one that executes the
transactions serially in some order.
Transaction Isolation Levels