{"Entry":{"collection":"metric","key":"pg_stat_recovery-recovery_last_xact_time","name":"pg_stat_recovery.recovery_last_xact_time","aliases":["recovery_last_xact_time","pg_stat_recovery"],"metadata":{"aliases":["recovery_last_xact_time","pg_stat_recovery"],"category":"pg_stat_recovery","content_hash":"82dfdcac74124d055709353e5079a4d00cd31dae52cba1cb4f09c925bef1eec5","imported_at":"2026-09-30T00:40:46.023291+08:00","name":"pg_stat_recovery.recovery_last_xact_time","name_zh":"","slug":"pg_stat_recovery-recovery_last_xact_time","summary":"Timestamp of the last transaction commit or abort record replayed during recovery. This is the time at which the commit or abort WAL record for that transaction was generated on the primary."}},"Definition":{"Collection":"metric","Key":"pg_stat_recovery-recovery_last_xact_time","SourceDatabase":"center","Version":"20","SourceTable":"statistics_metric","SourceKey":"pg_stat_recovery-recovery_last_xact_time","SourceRevision":"4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41","Facts":{"comparison_data":{"field":"recovery_last_xact_time","sql_type":"timestamp with time zone","units_mentioned":[],"view":"pg_stat_recovery"},"comparison_hash":"267c125af7f8a9ae518b191f635cace48d47df67b8494a6713eb03d03689522f","description":["Timestamp of the last transaction commit or abort record replayed during recovery. This is the time at which the commit or abort WAL record for that transaction was generated on the primary."],"documented":true,"facts":[{"label":"View","value":"pg_stat_recovery"},{"label":"Field","value":"recovery_last_xact_time"},{"label":"SQL type","value":"timestamp with time zone"},{"label":"Units named in the field definition","value":"Not specified"},{"label":"Reset observation","value":"No stats_reset field is documented for this view"}],"field":"recovery_last_xact_time","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 recovery_last_xact_time FROM pg_catalog.pg_stat_recovery;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"signature":"SELECT recovery_last_xact_time 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":"timestamp with time zone","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-recovery_last_xact_time","SourceDatabase":"center","Version":"20","Locale":"en","Title":"pg_stat_recovery.recovery_last_xact_time","Summary":"Timestamp of the last transaction commit or abort record replayed during recovery. This is the time at which the commit or abort WAL record for that transaction was generated on the primary.","BodyHTML":"\u003cp\u003eTimestamp of the last transaction commit or abort record replayed during recovery. This is the time at which the commit or abort WAL record for that transaction was generated on the primary.\u003c/p\u003e","SourceRevision":"4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41","ContentHash":"809d59e90773a3188104d6309c10d6b41609909e1337eaab2cc9e13b46d3eb17","Payload":{"description":["Timestamp of the last transaction commit or abort record replayed during recovery. This is the time at which the commit or abort WAL record for that transaction was generated on the primary."],"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 recovery_last_xact_time 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}
