## 52.80. `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](replication-origins.html).

**Table 52.81. `pg_replication_origin_status` Columns**

|                                                                           Column Type<br/><br/> Description                                                                          |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                       `local_id` `oid` (references [`pg_replication_origin`](catalog-pg-replication-origin.html).`roident`)<br/><br/> internal node identifier                       |
|                     `external_id` `text` (references [`pg_replication_origin`](catalog-pg-replication-origin.html).`roname`)<br/><br/> external node identifier                      |
|                                             `remote_lsn` `pg_lsn`<br/><br/> The origin node's LSN up to which data has been replicated.                                              |
|`local_lsn` `pg_lsn`<br/><br/> This node's LSN at which `remote_lsn` has been replicated. Used to flush commit records before persisting data to disk when using asynchronous commits.|

