In plain English
An LSN is an address into the WAL — a steadily increasing number that marks an exact position in the write-ahead log. PostgreSQL uses it to say “the replica has received up to here” or “recover up to this point”.
Why it matters
LSNs are how you measure replication lag (difference between primary and replica LSN) and define point-in-time recovery targets. They appear all over monitoring queries.
En palabras simples
Un LSN es una direccion dentro del WAL: un numero que crece de forma constante y marca una posicion exacta en el write-ahead log. PostgreSQL lo usa para decir “la replica recibio hasta aqui” o “recupera hasta este punto”.
Por que importa
Los LSN son como mides el retraso de replicacion (diferencia entre el LSN del primario y la replica) y defines objetivos de recuperacion a un punto en el tiempo. Aparecen en muchas consultas de monitoreo.