Shows the status of BDR replication slots. Output with the verbose flag gives
details such as is slot active, replication state (disconnected, streaming,
catchup), and approximate lag.
Symbol
Meaning
*
ok
~
warning (lag > 10M)
!
critical (lag > 100M OR slot is 'inactive' OR 'disconnected')
x
down / unreachable
-
n/a
In matrix view, sometimes byte lag is shown in parentheses. It is maxOf(WriteLag, FlushLag, ReplayLag, SentLag).
Options
Flag
Flag, long
Value
Description
--verbose
Verbose mode - provides mode detailed information
Examples
In a cluster with a node down
In this example, there is a 3 node cluster, bdr-a1 and bdr-c1 are up, bdr-b1 is down.
Or you can use the verbose flag to get more details.
In a restarted cluster
In this example, there is a 3 node cluster. Node bdr-b1 was down and it has just been restarted.
The verbose flag gives more details.
In a streaming cluster
In this example, there is a 3 node cluster, all nodes are up and in 'streaming' state.
The verbose flag gives more details.
With other node types
In this example the cluster has witness, logical standby and subscriber-only nodes. Upstream for logical-standby-a1 is bdr-a1 and logical-standby-b1 is bdr-b1.
A logical standby is sent data only by one source node, but no other nodes receive replication changes from it.
A Subscriber-only node subscribes to replication changes from other nodes in the cluster, but no other nodes receive replication changes from it.