Introduction

Built from the following configuration files:

See the code:

Summary

Greenplum Version:5.0
Catalog Version:201510270
Has OIDs Shared Persistent Master Only Segment Local

Relations

gp_configuration PNG SVG

Column Type Foreign Key Reference Keys
content smallint
definedprimary boolean
dbid smallint
isprimary boolean
valid boolean
hostname name
port integer
datadir text
Indexes
Has OIDsNo
ContentMASTER_ONLY
SharedYes

gp_configuration_history PNG SVG

Column Type Foreign Key Reference Keys
time timestamp_with_time_zone
dbid smallint
desc text
Indexes
Has OIDsNo
ContentMASTER_ONLY
SharedYes

gp_db_interfaces PNG SVG

Column Type Foreign Key Reference Keys
dbid smallint
interfaceid smallint
priority smallint
Indexes
Has OIDsNo
ContentMASTER_ONLY
SharedYes

gp_distribution_policy PNG SVG

Column Type Foreign Key Reference Keys
localoid oid pg_class.oid
attrnums smallint[]
Indexes
Has OIDsNo
ContentMASTER_ONLY
SharedNo

gp_fastsequence PNG SVG

Column Type Foreign Key Reference Keys
objid oid pg_class.oid
objmod bigint
last_sequence bigint
Indexes
Has OIDsNo
ContentSEGMENT_LOCAL
SharedNo

gp_fault_strategy PNG SVG

Column Type Foreign Key Reference Keys
fault_strategy quoted_char
Indexes
Has OIDsNo
ContentMASTER_ONLY
SharedYes

gp_global_sequence PNG SVG

Column Type Foreign Key Reference Keys
sequence_num bigint
Indexes
Has OIDsNo
ContentPERSISTENT
SharedNo

gp_id PNG SVG

Column Type Foreign Key Reference Keys
gpname name
numsegments smallint
dbid smallint
content smallint
Indexes
Has OIDsNo
ContentSEGMENT_LOCAL
SharedYes

gp_interfaces PNG SVG

Column Type Foreign Key Reference Keys
interfaceid smallint
address name
status smallint
Indexes
Has OIDsNo
ContentMASTER_ONLY
SharedYes

gp_persistent_database_node PNG SVG

Column Type Foreign Key Reference Keys
tablespace_oid oid
database_oid oid
persistent_state smallint
create_mirror_data_loss_tracking_session_num bigint
mirror_existence_state smallint
reserved integer
parent_xid integer
persistent_serial_num bigint
previous_free_tid tid
Indexes
Has OIDsNo
ContentPERSISTENT
SharedYes

gp_persistent_filespace_node PNG SVG

Column Type Foreign Key Reference Keys
filespace_oid oid
db_id_1 smallint
location_1 text
db_id_2 smallint
location_2 text
persistent_state smallint
create_mirror_data_loss_tracking_session_num bigint
mirror_existence_state smallint
reserved integer
parent_xid integer
persistent_serial_num bigint
previous_free_tid tid
Indexes
Has OIDsNo
ContentPERSISTENT
SharedYes

gp_persistent_tablespace_node PNG SVG

Column Type Foreign Key Reference Keys
filespace_oid oid
tablespace_oid oid
persistent_state smallint
create_mirror_data_loss_tracking_session_num bigint
mirror_existence_state smallint
reserved integer
parent_xid integer
persistent_serial_num bigint
previous_free_tid tid
Indexes
Has OIDsNo
ContentPERSISTENT
SharedYes

gp_relation_node PNG SVG

Column Type Foreign Key Reference Keys
relfilenode_oid oid pg_class.oid
segment_file_num integer
create_mirror_data_loss_tracking_session_num bigint
persistent_tid tid
persistent_serial_num bigint
Indexes
Has OIDsNo
ContentPERSISTENT
SharedNo

gp_san_configuration PNG SVG

Column Type Foreign Key Reference Keys
mountid smallint
active_host quoted_char
san_type quoted_char
primary_host text
primary_mountpoint text
primary_device text
mirror_host text
mirror_mountpoint text
mirror_device text
Indexes
Has OIDsNo
ContentMASTER_ONLY
SharedYes

gp_segment_configuration PNG SVG

Column Type Foreign Key Reference Keys
dbid smallint
content smallint
role quoted_char
preferred_role quoted_char
mode quoted_char
status quoted_char
port integer
hostname text
address text
replication_port integer
san_mounts int2vector
Indexes
Has OIDsNo
ContentMASTER_ONLY
SharedYes

gp_verification_history PNG SVG

Column Type Foreign Key Reference Keys
vertoken name
vertype smallint
vercontent smallint
verstarttime timestamp_with_time_zone
verstate smallint
verdone boolean
verendtime timestamp_with_time_zone
vermismatch boolean
Indexes
Has OIDsNo
ContentMASTER_ONLY
SharedYes

gp_version_at_initdb PNG SVG

Column Type Foreign Key Reference Keys
schemaversion smallint
productversion text
Indexes
Has OIDsNo
Content
SharedYes

pg_aggregate PNG SVG

Column Type Foreign Key Reference Keys
aggfnoid regproc pg_proc.oid
aggtransfn regproc pg_proc.oid
agginvtransfn regproc pg_proc.oid
aggprelimfn regproc pg_proc.oid
agginvprelimfn regproc pg_proc.oid
aggfinalfn regproc pg_proc.oid
aggsortop oid pg_operator.oid
aggtranstype oid pg_type.oid
agginitval text
aggordered bool
Indexes
Has OIDsNo
Content
SharedNo

pg_am PNG SVG

Column Type Foreign Key Reference Keys
oid oid
amname name
amstrategies smallint
amsupport smallint
amorderstrategy smallint
amcanunique boolean
amcanmulticol boolean
amoptionalkey boolean
amindexnulls boolean
amstorage boolean
amclusterable boolean
amcanshrink boolean
aminsert regproc pg_proc.oid
ambeginscan regproc pg_proc.oid
amgettuple regproc pg_proc.oid
amgetmulti regproc pg_proc.oid
amrescan regproc pg_proc.oid
amendscan regproc pg_proc.oid
ammarkpos regproc pg_proc.oid
amrestrpos regproc pg_proc.oid
ambuild regproc pg_proc.oid
ambulkdelete regproc pg_proc.oid
amvacuumcleanup regproc pg_proc.oid
amcostestimate regproc pg_proc.oid
amoptions regproc pg_proc.oid
Indexes
Has OIDsYes
Content
SharedNo

pg_amop PNG SVG

Column Type Foreign Key Reference Keys
amopclaid oid pg_opclass.oid
amopsubtype oid pg_type.oid
amopstrategy smallint
amopreqcheck boolean
amopopr oid pg_operator.oid
Indexes
Has OIDsNo
Content
SharedNo

pg_amproc PNG SVG

Column Type Foreign Key Reference Keys
amopclaid oid pg_opclass.oid
amprocsubtype oid pg_type.oid
amprocnum smallint
amproc regproc pg_proc.oid
Indexes
Has OIDsNo
Content
SharedNo

pg_appendonly PNG SVG

Column Type Foreign Key Reference Keys
relid oid pg_class.oid
blocksize integer
safefswritesize integer
compresslevel smallint
majorversion smallint
minorversion smallint
checksum boolean
compresstype text
columnstore boolean
segrelid oid
segidxid oid
blkdirrelid oid
blkdiridxid oid
version integer
visimaprelid oid
visimapidxid oid
Indexes
Has OIDsNo
Content
SharedNo

pg_appendonly_alter_column PNG SVG

Column Type Foreign Key Reference Keys
relid oid pg_class.oid
changenum integer
segfilenums integer[]
highwaterrownums bytea
Indexes
Has OIDsNo
Content
SharedNo

pg_attrdef PNG SVG

Column Type Foreign Key Reference Keys
oid oid
adrelid oid pg_attribute.attrelid
adnum smallint
adbin text
adsrc text
Indexes
Has OIDsYes
Content
SharedNo

pg_attribute PNG SVG

Column Type Foreign Key Reference Keys
oid oid
attrelid oid pg_class.oid
attname name
atttypid oid pg_type.oid
attstattarget integer
attlen smallint
attnum smallint
attndims integer
attcacheoff integer
atttypmod integer
attbyval boolean
attstorage quoted_char
attalign quoted_char
attnotnull boolean
atthasdef boolean
attisdropped boolean
attislocal boolean
attinhcount integer
Indexes
Has OIDsYes
Content
SharedNo

pg_attribute_encoding PNG SVG

Column Type Foreign Key Reference Keys
attrelid oid pg_attribute.attrelid
attnum smallint
attoptions text[]
Indexes
Has OIDsNo
Content
SharedNo

pg_auth_members PNG SVG

Column Type Foreign Key Reference Keys
roleid oid pg_authid.oid
member oid pg_authid.oid
grantor oid
admin_option boolean
Indexes
Has OIDsNo
Content
SharedYes

pg_auth_time_constraint PNG SVG

Column Type Foreign Key Reference Keys
authid oid pg_authid.oid
start_day smallint
start_time time
end_day smallint
end_time time
Indexes
Has OIDsNo
Content
SharedYes

pg_autovacuum PNG SVG

Column Type Foreign Key Reference Keys
vacrelid oid
enabled boolean
vac_base_thresh integer
vac_scale_factor real
anl_base_thresh integer
anl_scale_factor real
vac_cost_delay integer
vac_cost_limit integer
freeze_min_age integer
freeze_max_age integer
Indexes
Has OIDsNo
Content
SharedNo

pg_cast PNG SVG

Column Type Foreign Key Reference Keys
oid oid
castsource oid pg_type.oid
casttarget oid pg_type.oid
castfunc oid pg_proc.oid
castcontext quoted_char
Indexes
Has OIDsYes
Content
SharedNo

pg_class PNG SVG

Column Type Foreign Key Reference Keys
oid oid
relname name
relnamespace oid pg_namespace.oid
reltype oid pg_type.oid
relowner oid pg_authid.oid
relam oid pg_am.oid
relfilenode oid
reltablespace oid pg_tablespace.oid
relpages integer
reltuples real
reltoastrelid oid pg_class.oid
reltoastidxid oid pg_class.oid
relaosegrelid oid
relaosegidxid oid
relhasindex boolean
relisshared boolean
relkind quoted_char
relstorage quoted_char
relnatts smallint
relchecks smallint
reltriggers smallint
relukeys smallint
relfkeys smallint
relrefs smallint
relhasoids boolean
relhaspkey boolean
relhasrules boolean
relhassubclass boolean
relfrozenxid xid
relacl aclitem[]
reloptions text[]
Indexes
Has OIDsYes
Content
SharedNo

pg_compression PNG SVG

Column Type Foreign Key Reference Keys
oid oid
compname name
compconstructor regproc pg_proc.oid
compdestructor regproc pg_proc.oid
compcompressor regproc pg_proc.oid
compdecompressor regproc pg_proc.oid
compvalidator regproc pg_proc.oid
compowner oid pg_authid.oid
Indexes
Has OIDsYes
Content
SharedNo

pg_constraint PNG SVG

Column Type Foreign Key Reference Keys
oid oid
conname name
connamespace oid pg_namespace.oid
contype quoted_char
condeferrable boolean
condeferred boolean
conrelid oid pg_class.oid
contypid oid pg_type.oid
confrelid oid pg_class.oid
confupdtype quoted_char
confdeltype quoted_char
confmatchtype quoted_char
conkey smallint[]
confkey smallint[]
conbin text
consrc text
Indexes
Has OIDsYes
Content
SharedNo

pg_conversion PNG SVG

Column Type Foreign Key Reference Keys
oid oid
conname name
connamespace oid pg_namespace.oid
conowner oid pg_authid.oid
conforencoding integer
contoencoding integer
conproc regproc pg_proc.oid
condefault boolean
Indexes
Has OIDsYes
Content
SharedNo

pg_database PNG SVG

Column Type Foreign Key Reference Keys
oid oid
datname name
datdba oid pg_authid.oid
encoding integer
datistemplate boolean
datallowconn boolean
datconnlimit integer
datlastsysoid oid
datfrozenxid xid
dattablespace oid pg_tablespace.oid
datconfig text[]
datacl aclitem[]
Indexes
Has OIDsYes
Content
SharedYes

pg_depend PNG SVG

Column Type Foreign Key Reference Keys
classid oid pg_class.oid
objid oid
objsubid integer
refclassid oid pg_class.oid
refobjid oid
refobjsubid integer
deptype quoted_char
Indexes
Has OIDsNo
ContentSEGMENT_LOCAL
SharedNo

pg_description PNG SVG

Column Type Foreign Key Reference Keys
objoid oid
classoid oid pg_class.oid
objsubid integer
description text
Indexes
Has OIDsNo
ContentMASTER_ONLY
SharedNo

pg_extprotocol PNG SVG

Column Type Foreign Key Reference Keys
ptcname name
ptcreadfn oid pg_proc.oid
ptcwritefn oid pg_proc.oid
ptcvalidatorfn oid pg_proc.oid
ptcowner oid
ptctrusted bool
ptcacl aclitem[]
Indexes
Has OIDsYes
Content
SharedNo

pg_exttable PNG SVG

Column Type Foreign Key Reference Keys
reloid oid pg_class.oid
location text[]
fmttype quoted_char
fmtopts text
command text
rejectlimit integer
rejectlimittype quoted_char
fmterrtbl oid pg_class.oid
encoding integer
writable boolean
Indexes
Has OIDsNo
Content
SharedNo

pg_filespace PNG SVG

Column Type Foreign Key Reference Keys
oid oid
fsname name
fsowner oid
Indexes
Has OIDsYes
Content
SharedYes

pg_filespace_entry PNG SVG

Column Type Foreign Key Reference Keys
fsefsoid oid pg_filespace.oid
fsedbid smallint
fselocation text
Indexes
Has OIDsNo
ContentMASTER_ONLY
SharedYes

pg_foreign_data_wrapper PNG SVG

Column Type Foreign Key Reference Keys
oid oid
fdwname name
fdwowner oid pg_authid.oid
fdwvalidator oid pg_proc.oid
fdwacl aclitem[]
fdwoptions text[]
Indexes
Has OIDsYes
Content
SharedNo

pg_foreign_server PNG SVG

Column Type Foreign Key Reference Keys
oid oid
srvname name
srvowner oid pg_authid.oid
srvfdw oid pg_foreign_data_wrapper.oid
srvtype text
srvversion text
srvacl aclitem[]
srvoptions text[]
Indexes
Has OIDsYes
Content
SharedNo

pg_foreign_table PNG SVG

Column Type Foreign Key Reference Keys
reloid oid pg_class.oid
server oid pg_foreign_server.oid
tbloptions text[]
Indexes
Has OIDsNo
Content
SharedNo

pg_index PNG SVG

Column Type Foreign Key Reference Keys
indexrelid oid pg_class.oid
indrelid oid pg_class.oid
indnatts smallint
indisunique boolean
indisprimary boolean
indisclustered boolean
indisvalid boolean
indkey int2vector
indclass oidvector
indexprs text
indpred text
Indexes
Has OIDsNo
Content
SharedNo

pg_inherits PNG SVG

Column Type Foreign Key Reference Keys
inhrelid oid pg_class.oid
inhparent oid pg_class.oid
inhseqno integer
Indexes
Has OIDsNo
Content
SharedNo

pg_language PNG SVG

Column Type Foreign Key Reference Keys
oid oid
lanname name
lanispl boolean
lanpltrusted boolean
lanplcallfoid oid pg_proc.oid
lanvalidator oid pg_proc.oid
lanacl aclitem[]
Indexes
Has OIDsYes
Content
SharedNo

pg_largeobject PNG SVG

Column Type Foreign Key Reference Keys
loid oid
pageno integer
data bytea
Indexes
Has OIDsNo
Content
SharedNo

pg_listener PNG SVG

Column Type Foreign Key Reference Keys
relname name
listenerpid integer
notification integer
Indexes
Has OIDsNo
ContentMASTER_ONLY
SharedNo

pg_opclass PNG SVG

Column Type Foreign Key Reference Keys
oid oid
opcamid oid
opcname name
opcnamespace oid pg_namespace.oid
opcowner oid pg_authid.oid
opcintype oid
opcdefault boolean
opckeytype oid
Indexes
Has OIDsYes
Content
SharedNo

pg_partition PNG SVG

Column Type Foreign Key Reference Keys
oid oid
parrelid oid pg_class.oid
parkind quoted_char
parlevel smallint
paristemplate boolean
parnatts smallint
paratts int2vector
parclass oidvector
Indexes
Has OIDsYes
ContentMASTER_ONLY
SharedNo

pg_partition_encoding PNG SVG

Column Type Foreign Key Reference Keys
parencoid oid pg_partition.oid
parencattnum smallint
parencattoptions text[]
Indexes
Has OIDsNo
Content
SharedNo

pg_pltemplate PNG SVG

Column Type Foreign Key Reference Keys
tmplname name
tmpltrusted boolean
tmplhandler text
tmplvalidator text
tmpllibrary text
tmplacl aclitem[]
Indexes
Has OIDsNo
Content
SharedYes

pg_proc PNG SVG

Column Type Foreign Key Reference Keys
oid oid
proname name
pronamespace oid pg_namespace.oid
proowner oid pg_authid.oid
prolang oid pg_language.oid
proisagg boolean
prosecdef boolean
proisstrict boolean
proretset boolean
provolatile quoted_char
pronargs smallint
prorettype oid pg_type.oid
proiswin boolean
proargtypes oidvector
proallargtypes oid[]
proargmodes quoted_char[]
proargnames text[]
prosrc text
probin bytea
proacl aclitem[]
prodataaccess quoted_char
provariadic oid
Indexes
Has OIDsYes
Content
SharedNo

pg_proc_callback PNG SVG

Column Type Foreign Key Reference Keys
profnoid regproc pg_proc.oid
procallback regproc pg_proc.oid
promethod quoted_char
Indexes
Has OIDsNo
Content
SharedNo

pg_resourcetype PNG SVG

Column Type Foreign Key Reference Keys
oid oid
resname name
restypid smallint
resrequired boolean
reshasdefault boolean
reshasdisable boolean
resdefaultsetting text
resdisabledsetting text
Indexes
Has OIDsYes
Content
SharedYes

pg_resqueue PNG SVG

Column Type Foreign Key Reference Keys
oid oid
rsqname name
rsqcountlimit real
rsqcostlimit real
rsqovercommit boolean
rsqignorecostlimit real
Indexes
Has OIDsYes
Content
SharedYes

pg_resqueuecapability PNG SVG

Column Type Foreign Key Reference Keys
oid oid
resqueueid oid pg_resqueue.oid
restypid smallint pg_resourcetype.restypid
ressetting text
Indexes
Has OIDsYes
Content
SharedYes

pg_rewrite PNG SVG

Column Type Foreign Key Reference Keys
oid oid
rulename name
ev_class oid pg_attribute.attrelid
ev_attr smallint
ev_type quoted_char
is_instead boolean
ev_qual text
ev_action text
Indexes
Has OIDsYes
Content
SharedNo

pg_shdepend PNG SVG

Column Type Foreign Key Reference Keys
dbid oid pg_database.oid
classid oid pg_class.oid
objid oid
refclassid oid pg_class.oid
refobjid oid
deptype quoted_char
Indexes
Has OIDsNo
ContentSEGMENT_LOCAL
SharedYes

pg_shdescription PNG SVG

Column Type Foreign Key Reference Keys
objoid oid
classoid oid pg_class.oid
description text
Indexes
Has OIDsNo
ContentMASTER_ONLY
SharedYes

pg_stat_last_operation PNG SVG

Column Type Foreign Key Reference Keys
classid oid pg_class.oid
objid oid
staactionname name
stasysid oid pg_authid.oid
stausename name
stasubtype text
statime timestamp_with_time_zone
Indexes
Has OIDsNo
ContentMASTER_ONLY
SharedNo

pg_stat_last_shoperation PNG SVG

Column Type Foreign Key Reference Keys
classid oid pg_class.oid
objid oid
staactionname name
stasysid oid pg_authid.oid
stausename name
stasubtype text
statime timestamp_with_time_zone
Indexes
Has OIDsNo
ContentMASTER_ONLY
SharedYes

pg_statistic PNG SVG

Column Type Foreign Key Reference Keys
starelid oid pg_attribute.attrelid
staattnum smallint
stanullfrac real
stawidth integer
stadistinct real
stakind1 smallint
stakind2 smallint
stakind3 smallint
stakind4 smallint
staop1 oid pg_operator.oid
staop2 oid pg_operator.oid
staop3 oid pg_operator.oid
staop4 oid pg_operator.oid
stanumbers1 real[]
stanumbers2 real[]
stanumbers3 real[]
stanumbers4 real[]
stavalues1 text
stavalues2 text
stavalues3 text
stavalues4 text
Indexes
Has OIDsNo
ContentSEGMENT_LOCAL
SharedNo

pg_tablespace PNG SVG

Column Type Foreign Key Reference Keys
oid oid
spcname name
spcowner oid pg_authid.oid
spclocation text
spcacl aclitem[]
spcprilocations text[]
spcmirlocations text[]
spcfsoid oid pg_filespace.oid
Indexes
Has OIDsYes
Content
SharedYes

pg_trigger PNG SVG

Column Type Foreign Key Reference Keys
oid oid
tgrelid oid pg_class.oid
tgname name
tgfoid oid pg_proc.oid
tgtype smallint
tgenabled boolean
tgisconstraint boolean
tgconstrname name
tgconstrrelid oid pg_class.oid
tgdeferrable boolean
tginitdeferred boolean
tgnargs smallint
tgattr int2vector
tgargs bytea
Indexes
Has OIDsYes
Content
SharedNo

pg_type_encoding PNG SVG

Column Type Foreign Key Reference Keys
typid oid pg_type.oid
typoptions text[]
Indexes
Has OIDsNo
Content
SharedNo

pg_user_mapping PNG SVG

Column Type Foreign Key Reference Keys
oid oid
umuser oid pg_authid.oid
umserver oid pg_foreign_server.oid
umoptions text[]
Indexes
Has OIDsYes
Content
SharedNo

pg_window PNG SVG

Column Type Foreign Key Reference Keys
winfnoid regproc pg_proc.oid
winrequireorder boolean
winallowframe boolean
winpeercount boolean
wincount boolean
winfunc regproc pg_proc.oid
winprefunc regproc pg_proc.oid
winpretype oid
winfinfunc regproc pg_proc.oid
winkind quoted_char
winframemakerfunc regproc
Indexes
Has OIDsNo
Content
SharedNo
Back to top

Created by Stephen Carter
Last updated: 2016-03-08