{"Entry":{"collection":"metric","key":"pg_stat_recovery-last_replayed_end_lsn","name":"pg_stat_recovery.last_replayed_end_lsn","aliases":["last_replayed_end_lsn","pg_stat_recovery"],"metadata":{"aliases":["last_replayed_end_lsn","pg_stat_recovery"],"category":"pg_stat_recovery","content_hash":"400858a812459c87645b08f6cd43325e89329b56b182b691b82ba8604e1964ce","imported_at":"2026-09-30T00:40:46.013669+08:00","name":"pg_stat_recovery.last_replayed_end_lsn","name_zh":"","slug":"pg_stat_recovery-last_replayed_end_lsn","summary":"End write-ahead log location, plus one, of the last successfully replayed WAL record."}},"Definition":{"Collection":"metric","Key":"pg_stat_recovery-last_replayed_end_lsn","SourceDatabase":"center","Version":"20","SourceTable":"statistics_metric","SourceKey":"pg_stat_recovery-last_replayed_end_lsn","SourceRevision":"4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41","Facts":{"comparison_data":{"field":"last_replayed_end_lsn","sql_type":"pg_lsn","units_mentioned":[],"view":"pg_stat_recovery"},"comparison_hash":"6f34b7a0619b59cddb0296d0221585f6b1818ac512434ab33036212b7ba74d3f","description":["End write-ahead log location, plus one, of the last successfully replayed WAL record."],"documented":true,"facts":[{"label":"View","value":"pg_stat_recovery"},{"label":"Field","value":"last_replayed_end_lsn"},{"label":"SQL type","value":"pg_lsn"},{"label":"Units named in the field definition","value":"Not specified"},{"label":"Reset observation","value":"No stats_reset field is documented for this view"}],"field":"last_replayed_end_lsn","manual_html":"","manual_path":"/docs/devel/monitoring-stats.html","related":[{"label":"pg_stat_recovery columns","url":"/wiki/catalog/pg_stat_recovery/?v=20"},{"label":"Statistics collection and reset functions","url":"/docs/devel/monitoring-stats.html"}],"release":{"channel":"devel","label":"20devel","major":"20","ref":"https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2","revision":"4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"},"sections":[{"paragraphs":["The pg_stat_recovery view will contain at most one row, showing statistics about the recovery state of the startup process. This view returns no rows when the server is not in recovery or the user does not have privileges of the pg_read_all_stats role."],"title":"View semantics"},{"paragraphs":["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."],"title":"Collection and reset context"},{"code":"SELECT last_replayed_end_lsn FROM pg_catalog.pg_stat_recovery;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"signature":"SELECT last_replayed_end_lsn FROM pg_catalog.pg_stat_recovery;","source_only":false,"sources":[{"label":"PostgreSQL 20 English manual","path":"monitoring-stats.html","sha256":"dfc27a108b70bdf88f310801ae3db011a8f608befd927722e5f3e9bdcc070251","url":"/docs/devel/monitoring-stats.html#PG-STAT-RECOVERY-VIEW"}],"sql_type":"pg_lsn","tables":[],"units_mentioned":[],"view":"pg_stat_recovery"},"ManualEvidence":{"manual_path":"/docs/devel/monitoring-stats.html","release":{"channel":"devel","label":"20devel","major":"20","ref":"https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2","revision":"4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"},"sources":[{"label":"PostgreSQL 20 English manual","path":"monitoring-stats.html","sha256":"dfc27a108b70bdf88f310801ae3db011a8f608befd927722e5f3e9bdcc070251","url":"/docs/devel/monitoring-stats.html#PG-STAT-RECOVERY-VIEW"}]},"MeasuredEvidence":{}},"Text":{"Collection":"metric","Key":"pg_stat_recovery-last_replayed_end_lsn","SourceDatabase":"center","Version":"20","Locale":"en","Title":"pg_stat_recovery.last_replayed_end_lsn","Summary":"End write-ahead log location, plus one, of the last successfully replayed WAL record.","BodyHTML":"\u003cp\u003eEnd write-ahead log location, plus one, of the last successfully replayed WAL record.\u003c/p\u003e","SourceRevision":"4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41","ContentHash":"5810b9e8b2d3dee14174b9f09ad57a926b0c4b657e7f63dae60a4b95a2fb740b","Payload":{"description":["End write-ahead log location, plus one, of the last successfully replayed WAL record."],"manual_html":"","related":[{"label":"pg_stat_recovery columns","url":"/wiki/catalog/pg_stat_recovery/?v=20"},{"label":"Statistics collection and reset functions","url":"/docs/devel/monitoring-stats.html"}],"sections":[{"paragraphs":["The pg_stat_recovery view will contain at most one row, showing statistics about the recovery state of the startup process. This view returns no rows when the server is not in recovery or the user does not have privileges of the pg_read_all_stats role."],"title":"View semantics"},{"paragraphs":["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."],"title":"Collection and reset context"},{"code":"SELECT last_replayed_end_lsn FROM pg_catalog.pg_stat_recovery;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"tables":[]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
