gp_segment_configuration
The gp_segment_configuration table contains information about mirroring and segment instance configuration.
This table is populated only on the master.
This table is defined in the pg_global tablespace, meaning it is globally shared across all databases in the system.
| Column | Type | Description |
|---|---|---|
dbid |
smallint |
Unique identifier of a segment (or master) instance |
content |
smallint |
The content identifier for a segment instance. A primary segment instance and its corresponding mirror will always have the same content identifier. For a segment the value is from For the master, the value is always |
role |
char |
The role that a segment is currently running as.
Values are |
preferred_role |
char |
The role that a segment was originally assigned at initialization time.
Values are |
mode |
char |
The synchronization status of a segment instance with its mirror copy.
Values are NOTE
This column always shows |
status |
char |
The fault status of a segment instance.
Values are |
port |
integer |
The TCP port the database server listener process is using |
hostname |
text |
The hostname of a segment host |
address |
text |
The hostname used to access a particular segment instance on a segment host.
This value may be the same as |
datadir |
text |
Segment instance data directory |