Each modification done in a database transaction is first recorded into which of the following?

By: Prof. Dr. Fazal Rehman Shamil | Last updated: February 3, 2024

 

Question: Each modification done in a database transaction is first recorded into which of the following?

A      Harddrive

B       Log

C        Disk

D      Datamart

Answer:   Log

 

Database transaction modificationLocation of Initial RecordingPurpose
Data insertionTransaction LogRecords new data entries added to the database.
Data updateTransaction LogLogs changes made to existing data in the database.
Data deletionTransaction LogKeeps a record of data that has been removed.
Transaction beginTransaction LogMarks the start of a transaction for recovery.
Transaction commitTransaction LogSignals the successful completion of a transaction.
Transaction rollbackTransaction LogRecords the reversal of a failed transaction.
Metadata changesTransaction Log and System CatalogTracks changes to the database schema and structure.
Data access (read operations)Typically not recorded in the logReading operations are not recorded in the log.