Shows BDR subscription (incoming replication) details such as origin/target node, timestamp of the last replayed transaction, and lag between now and the timestamp of the last replayed transaction.
Options
No specific command options. See global options for global options.
Examples
Show subscriptions with a node down
In this example, there is a 3 node cluster, bdr-a1 and bdr-c1 are up, bdr-b1 is down.
Show subscriptions with a recently restarted node
In this example, there is a 3 node cluster, bdr-b1 was down and it has just been restarted.
Show subscriptions with all nodes working correctly
In this example, there is a 3 node cluster, all nodes are up and in 'streaming' state.
Show subscriptions in a multi-node cluster
In this example, there is a 4 node cluster.
bdr-a1 and bdr-b1 are the origin nodes for logical-standby-a1 and logical-standby-b1 respectively.
bdr-a1 and bdr-b1 are the origin nodes for subscriber-only-c1.
bdr-a1 and bdr-b1 are the origin nodes for witness-c1.
Note: Logical standby and subscriber-only nodes receive changes but do not
send changes made locally to other nodes