Transaction Processing Flashcards
(12 cards)
What is transaction processing in networking and computing?
Transaction processing is the method of executing a series of operations (a transaction) as a single unit that must be completed entirely or not at all, ensuring data integrity.
What are the key properties of a transaction?
The key properties are ACID: Atomicity, Consistency, Isolation, and Durability.
What does Atomicity mean in transaction processing?
Atomicity ensures that all operations in a transaction are completed successfully. If any part fails, the entire transaction is rolled back.
What does Consistency mean in transaction processing?
Consistency ensures that a transaction brings the system from one valid state to another, maintaining all data rules and constraints.
What does Isolation mean in transaction processing?
Isolation means that transactions are executed independently of each other, so one transaction does not affect the others’ operations or data.
What does Durability mean in transaction processing?
Durability guarantees that once a transaction is committed, its results are permanent and will survive system failures.
What is an example of transaction processing in real life?
A bank transfer is a transaction: withdrawing from one account and depositing in another must both succeed or both fail to maintain accurate balances.
What is a transaction processing system (TPS)?
A TPS is a system that collects, stores, modifies, and retrieves data transactions for an enterprise. Examples include systems for banking, booking, or retail sales.
What is the difference between batch and real-time transaction processing?
Batch processing handles multiple transactions at once after a delay, while real-time processing executes transactions instantly as they occur.
Why is transaction processing important in networking systems?
It ensures reliability and integrity when multiple users or systems are updating shared data, especially in database and financial systems.
What role does rollback play in transaction processing?
Rollback undoes changes made by a failed or incomplete transaction, restoring the system to its previous consistent state.