<<Up     Contents

Database log

In computer science, in the field of databases, a Database Log is a history of actions executed by a database management system. Physically, a log is a file of records stored in stable storage, designed to withstand crashes.

Anatomy of a General Database Log

A database log record is made up of (FIXME: resource managers, xid not universal)

Types of Database Logs Records

All log records include the general log attributes above, and also other attributes depending on their type (which is recorded in the Type attribute, as above).

Tables

These tables are maintained in memory, and can be efficiently reconstructed (if not exactly, to an equivalent state) from the log and the database:


wikipedia.org dumped 2003-03-17 with terodump