In SQL Server, the write-ahead log is the transaction log. Microsoft's documentation says SQL Server uses a write-ahead logging algorithm that guarantees no data change is written to disk before its log record is. Log records go to disk when a transaction commits or the log buffer fills. Each record has a log sequence number (LSN), and the log file is split into virtual log files (VLFs) that are reused once they are no longer needed. Under the full recovery model that reuse, called truncation, happens after a log backup. Without log backups, or with a transaction left open for a long time, the log keeps growing until it fills the disk.
PostgreSQL states the rule plainly: changes to data files must be written only after WAL records describing them have been flushed to permanent storage. Its WAL lives in the pg_wal folder as segment files, normally 16 MB each. The LSN is a byte position in the WAL, and comparing two LSNs tells you how far a replica or a recovery has progressed. Archiving WAL files lets you restore a backup and replay up to any moment, called point-in-time recovery. MySQL's InnoDB engine calls its write-ahead log the redo log. Since MySQL 8.0.30 it is stored in the #innodb_redo folder and its size is set by innodb_redo_log_capacity.
SQLite offers WAL as a journal mode, turned on with PRAGMA journal_mode=WAL. The original content stays in the database file and changes are appended to a separate -wal file, alongside a -shm index file. A commit is a commit record appended to the WAL, so readers keep reading the unchanged database while a writer commits. By default SQLite runs a checkpoint, copying changes back into the database file, when the WAL reaches 1000 pages.
The append-first idea also scales up into whole systems. Change data capture tools read a database's WAL to stream every change in order, and the Kafka design guide shows a broker built around an append-only log. Checkpointing explains how databases bound recovery time, and the lesson on WAL-based replication shows how replicas apply the log.