Database Transaction Log
A Database Transaction Log is a Data File that contains a history of actions executed by a database management system.
- AKA: Transaction Journal, Database Log, Binary Log, Audit Trail.
- Example(s):
- Counter-Example(s):
- See: Database Management System, Database, ACID, Crash (Computing), Computer File, Consistency (Database Systems), Commit (Data Management), Rollback (Data Management), Database Transaction, Atomicity (Database Systems), Durability (Computer Science).
References
2017
- (Wikipedia, 2017) ⇒ https://en.wikipedia.org/wiki/transaction_log Retrieved:2017-7-21.
- In the field of databases in computer science, a transaction log (also transaction journal, database log, binary log or audit trail) is a history of actions executed by a database management system used to guarantee ACID properties over crashes or hardware failures. Physically, a log is a file listing changes to the database, stored in a stable storage format.
If, after a start, the database is found in an inconsistent state or not been shut down properly, the database management system reviews the database logs for uncommitted transactions and rolls back the changes made by these transactions. Additionally, all transactions that are already committed but whose changes were not yet materialized in the database are re-applied. Both are done to ensure atomicity and durability of transactions.
This term is not to be confused with other, human-readable logs that a database management system usually provides.
In database management systems, a journal is the record of data altered by a given process. [1] [2] [3] [4]
- In the field of databases in computer science, a transaction log (also transaction journal, database log, binary log or audit trail) is a history of actions executed by a database management system used to guarantee ACID properties over crashes or hardware failures. Physically, a log is a file listing changes to the database, stored in a stable storage format.
- ↑ Microsoft, The Transaction Log (SQL Server)
- ↑ qlshack.com, A beginner’s guide to SQL Server transaction logs, February 11, 2014 by Ivan Stankovic
- ↑ techrepublic.com, Understanding the importance of transaction logs in SQL Server, SQL Server transaction log maintenance, By Crowe, Chizek, November 11, 2004
- ↑ neurobs.com, Logfiles