Difficulty: Easy
Correct Answer: transaction log
Explanation:
Introduction / Context:
Robust databases must track changes for recovery, auditing, and replication. The mechanism that records each change operation (such as INSERT, UPDATE, DELETE, and sometimes schema changes) is central to point-in-time recovery and compliance reporting.
Given Data / Assumptions:
Concept / Approach:
A transaction log (also called write-ahead log, redo log, or journal) serializes modifications before they are applied to data files. This enables crash recovery, roll-forward/roll-back, replication streams, and auditing. Other tools like report writers or query languages do not guarantee a comprehensive chronological record of changes.
Step-by-Step Solution:
Verification / Alternative check:
In recovery scenarios, restoring a backup and replaying the transaction log to a target timestamp reconstitutes the database state—proof that the log provides the needed historical record.
Why Other Options Are Wrong:
Common Pitfalls:
Assuming that application logs or ad hoc reports replace the guaranteed, system-level completeness of database transaction logging.
Final Answer:
transaction log
Discussion & Comments