Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Write-ahead log, undo record, redo record, log sequence number, checkpoint » ?

Aussi appelé : write-ahead log · log sequence number · redo record · undo record · checkpoint

Definition 23.9 University Computer Science — Year 3 · Chapitre 23 — Concurrency Control and Recovery

A write-ahead log is an append-only file of records describing every change, whose records reach the disk before the pages they describe. Each record has a log sequence number (LSN), increasing along the log, and each page carries the LSN of the last record applied to it, its page LSN. An update record carries a redo record part, the new value, to repeat the change, and an undo record part, the old value, to cancel it; a compensation log record, or CLR, logs an undo already done. A checkpoint is a record of the active transactions with their last LSNs, and of the dirty pages with, for each, the LSN of its first change not yet on disk (its recLSN), from which recovery can start reading.

Lire dans le chapitre →