Hello, I’m DocuDroid!
Submitting feedback
Thank you for rating our AI Search!
We would be grateful if you could share your thoughts so we can improve our AI Search for you and other readers.
GitHub

pg_stat_replication

The pg_stat_replication view contains metadata of the WAL sender process that is used for Greengage DB master mirroring.

The gp_stat_replication view contains WAL sender replication information for master and segment mirroring.

Column Type Description

pid

integer

Process ID of WAL sender backend process

usesysid

oid

User system ID that runs the WAL sender backend process

usename

name

User name that runs the WAL sender backend process

application_name

text

Client application name

client_addr

inet

Client IP address

client_hostname

text

The host name of the client machine

client_port

integer

Client port number

backend_start

timestamp with time zone

Operation start timestamp

backend_xmin

xid

The current backend’s xmin horizon

state

text

WAL sender state. The value can be:

  • startup

  • backup

  • catchup

  • streaming

sent_location

pg_lsn

WAL sender xlog record sent location

write_location

pg_lsn

WAL receiver xlog record write location

flush_location

pg_lsn

WAL receiver xlog record flush location

replay_location

pg_lsn

Standby xlog record replay location

sync_priority

integer

Priority. The value is 1

sync_state

text

WAL sender synchronization state. The value is sync