PGXC_STAT_REPLICATION
PGXC_STAT_REPLICATION displays the log synchronization status of each node in the cluster. All columns except node_name are the same as those in the PG_STAT_REPLICATION view. This view is accessible only to users with system administrators rights.
Name |
Type |
Description |
---|---|---|
node_name |
text |
Node name |
pid |
bigint |
PID of the thread |
usesysid |
oid |
User system ID |
usename |
name |
Username |
application_name |
text |
Program name |
client_addr |
inet |
Client address |
client_hostname |
text |
Client name |
client_port |
integer |
Client port number |
backend_start |
timestamp with time zone |
Program start time |
state |
text |
Log replication state (catch-up or consistent streaming) |
sender_sent_location |
text |
Location where the sender sends logs |
receiver_write_location |
text |
Location where the receiver writes logs |
receiver_flush_location |
text |
Location where the receiver flushes logs |
receiver_replay_location |
text |
Location where the receiver replays logs |
sync_priority |
integer |
Priority of synchronous duplication (0 indicates asynchronization) |
sync_state |
text |
Synchronization state (asynchronous duplication, synchronous duplication, or potential synchronization) |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.