gp_distribution_policy
gp_distribution_policy
The gp_distribution_policy table contains information about Greenplum Database tables and their policy for distributing table data across the segments. This table is populated only on the master. This table is not globally shared, meaning each database has its own copy of this table.
column | type | references | description |
---|---|---|---|
localoid | oid | pg_class.oid | The table object identifier (OID). |
policytype | char | The table distribution policy:
|
|
numsegments | integer | The number of segment instances on which the table data is distributed. | |
distkey | int2vector | pg_attribute.attnum | The column number(s) of the distribution column(s). |
distclass | oidvector | pg_opclass.oid | The operator class identifier(s) of the distribution column(s). |