Updated on 2024-06-03 GMT+08:00

GS_MATVIEW_DEPENDENCY

GS_MATVIEW_DEPENDENCY provides association information about each incremental materialized view, base table, and Mlog table in the database. The Mlog table corresponding to the base table does not exist in the full materialized view. Therefore, no record is written into the Mlog table.

Table 1 GS_MATVIEW_DEPENDENCY columns

Name

Type

Description

oid

oid

Row identifier (hidden attribute, which must be specified).

matviewid

oid

OID of a materialized view.

relid

oid

OID of a base table of a materialized view.

mlogid

oid

OID of a Mlog table which is the log table of a materialized view. Each Mlog table corresponds to one base table.

mxmin

integer

Reserved column.