- LSN (log sequence number)
- A monotonically increasing identifier assigned to every log record when it is appended, typically the record's logical address in the ever-growing log. It is the universal currency for ordering and for correlating log positions with page states.
- page LSN
- A field in every database page holding the LSN of the log record describing the most recent update applied to that page, whether a regular update or a CLR. Comparing it with a log record's LSN is how ARIES decides whether an update is already reflected in the page.
- CLR (compensation log record)
- The log record written to describe an update performed during a rollback. In ARIES a CLR is redo-only and is never itself undone, so it needs no before-image and never triggers a compensation of its own.
- UndoNxtLSN
- A field present only in CLRs, holding the PrevLSN of the log record that CLR compensated, that is, the next record of the transaction still to be undone. Following it during a later rollback skips over everything already undone.
- RecLSN (recovery LSN)
- The value recorded with a page in the dirty-pages table when a clean page is first fixed with intent to modify, equal to the end-of-log LSN at that moment. It marks the earliest point in the log from which updates to that page might be missing on nonvolatile storage.
- Repeating history
- The ARIES restart discipline of redoing every logged update missing from a page before any rollback begins, including updates of transactions that never committed. It restores the database to its exact state at the moment of failure so that undo can proceed unconditionally.
- Loser transaction
- A transaction that had neither committed nor reached the in-doubt state of two-phase commit when the system failed. Losers' updates are redone during the redo pass like everyone else's and then rolled back in the undo pass.
- Nested top action
- A subsequence of a transaction's actions that must not be undone once it completes, even if the enclosing transaction rolls back, while still being atomic in itself. ARIES implements it by writing a dummy CLR at the end whose UndoNxtLSN points back to before the sequence started.
- Latch
- A cheap semaphore-like primitive used to guarantee physical consistency of a page while it is read or modified, as distinct from a lock, which guarantees logical consistency of data. Latches are held briefly, are not tracked by the deadlock detector, and are requested so as never to participate in deadlocks.