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.