PG_STAT_REPLICATION
PG_STAT_REPLICATION displays information about log synchronization status, such as the locations of the sender sending logs and the receiver receiving logs.
Name |
Type |
Description |
---|---|---|
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 |
Port of the client |
backend_start |
timestamp with time zone |
Start time of the program |
state |
text |
Log replication state (catch-up or consistent streaming) |
sender_sent_location |
text |
Location where the transmit sends logs |
receiver_write_location |
text |
Location where the receive end writes logs |
receiver_flush_location |
text |
Location where the receive end flushes logs |
receiver_replay_location |
text |
Location where the receive end replays logs |
sync_priority |
integer |
Priority of synchronous duplication (0 indicates asynchronization.) |
sync_state |
text |
Synchronization state:
|
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot