跳至主要內容

KlustronDB小于 1 分钟

52.79. pg_replication_origin_status

The pg_replication_origin_status view contains information about how far replay for a certain origin has progressed. For more on replication origins see Chapter 50.

Table 52.80. pg_replication_origin_status Columns

NameTypeReferencesDescription
local_idOidpg_replication_origin.roidentinternal node identifier
external_idtextpg_replication_origin.ronameexternal node identifier
remote_lsnpg_lsnThe origin node's LSN up to which data has been replicated.
local_lsnpg_lsnThis node's LSN at which remote_lsn has been replicated. Used to flush commit records before persisting data to disk when using asynchronous commits.