gp_distribution_policy#

The gp_distribution_policy table contains information about OushuDB tables and their policy for distributing table data across the segments. This table is not globally shared, meaning each database has its own copy of this table.

Table 1. pg_catalog.gp_distribution_policy

column

type

references

description

localoid

oid

pg_class_internal.oid

The table object identifier (OID).

attrnums

smallint[]

pg_attribute.attnum

The column number(s) of the distribution column(s).

bucketnum

integer

Number of hash buckets used in creating a hash-distributed table or for external table intermediate processing. The number of buckets also affects how many virtual segment are created when processing data.