gp_id v6.27.4

The gp_id system catalog table identifies the WarehousePG cluster name and number of segments for the system. It also has local values for the particular database instance (segment or coordinator) on which the table resides. This table is defined in the pg_global tablespace, meaning it is globally shared across all databases in the system.

columntypereferencesdescription
gpnamename The name of this WarehousePG cluster.
numsegmentsinteger The number of segments in the WarehousePG cluster.
dbidinteger The unique identifier of this segment (or coordinator) instance.
contentinteger The ID for the portion of data on this segment instance. A primary and its mirror will have the same content ID.

For a segment the value is from 0-N-1, where N is the number of segments in WarehousePG.

For the coordinator, the value is -1.

Parent topic: System Catalogs Definitions