SHOW LEADERS command¶
The SHOW LEADERS command shows the information about the leader replicas in the Storage services of the current service group.
The following table describes the returned information:
| Column | Description |
|---|---|
host_address |
The address of the leader replica. |
leader_count |
The number of leader replicas in the current Storage service. |
parts |
The list of partition IDs where the leader replicas are located. For more information, see SHOW PARTITIONS. |
Syntax¶
- show_leader_command
show_leader_command ::=
'SHOW' 'LEADERS'
Examples¶
Developer Edition has one Storage service. Its parts list includes the system and data partitions hosted by that service. The host address reflects the current instance.
SHOW LEADERS