What is referential integrity?(3 points)
Describe what is meant by the term ‘Durable’ in the context of ACID transactions.
data is not lost in case of power failure
What does ACID stand for?
Atomicity, Consistency, Isolation and Durability.
Give one disadvantage of using record locking.
Can cause deadlock
Describe what is meant by the term ‘Atomic’ in the context of ACID transactions.
A transaction can only fully complete or not complete cant be partially completed.
What is record locking and why is it used?
Record locking stops more than one user from changing the same data at the same time. It helps keep data safe and correct.
Describe what is meant by the term ‘Isolation’ in the context of ACID transactions.
A transaction must not be interrupted by another transaction. Transaction must occur in isolation. Simultaneous executions of transactions should lead to the same result as if they were executed one after the other,
Describe what is meant by the term ‘Consistency’ in the context of ACID transactions.
The database must move from one valid state to another after a transaction, must maintain referential inegrity after each transaction.
What is Transaction processing?
Transaction processing means doing a group of steps together as one task.
All steps must finish, or none happen at all.