Viewing PGD topology v5.6
Listing PGD groups
Using pgd-cli
Use the pgd-cli show-groups
command to list all groups in the PGD cluster:
Using SQL
The following simple query lists all the PGD node groups of which the current
node is a member. It currently returns only one row from
bdr.local_node_summary
.
You can display the configuration of each node group using a more complex query:
Listing nodes in a PGD group
Using pgd-cli
Use the show-nodes
command to list all nodes in the PGD cluster:
Use grep
with the group name to filter the list to a specific group:
Using SQL
You can extract the list of all nodes in a given node group (such as mygroup
)
from the bdr.node_summary
` view. For example:
The read-only state of a node, as shown in the
current_state
or in the target_state
query columns, is indicated
as STANDBY
.
- On this page
- Listing PGD groups
- Listing nodes in a PGD group