PG_MATVIEW
PG_MATVIEW provides the materialized view information of the current node. This view is supported only by clusters of 8.3.0 and later versions.
Column |
Type |
Description |
mvid |
oid |
OID of the materialized view. |
build_mode |
char |
Build mode of the materialized view.
|
refresh_method |
char |
'c' indicates that the data is completely refreshed. |
refresh_mode |
char |
Refresh mode of the materialized view.
|
rewrite_enable |
boolean |
Indicates whether query rewriting of the materialized view is supported. |
active |
boolean |
Indicates whether the materialized view needs to be refreshed. |
relnum |
Int |
Number of materialized view base tables. |
start_time |
timestamptz |
Time when the materialized view is refreshed for the first time. If this parameter is left blank, the first refresh time is the current time plus the interval. |
interval |
interval |
Interval for refreshing the materialized view. |
refresh_time |
timestamptz |
Last refresh time of the materialized view. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot