Log sequence number
A log sequence number identifies a position in an engine's ordered recovery-log address space.
PostgreSQL represents an LSN as a byte offset in WAL. Insert, write and durable-flush positions have different meanings: knowing an LSN does not establish that its record is durable. A byte distance is not elapsed time; retain the engine, timeline and observed progress stage when comparing positions.
Relations
- related
- write-ahead-log, database-checkpoint