GS_MATVIEWS
GS_MATVIEWS displays information about each materialized view in the database.
| Name | Type | Reference | Description |
|---|---|---|---|
| schemaname | name | nspname in PG_NAMESPACE | Name of the schema of a materialized view. |
| matviewname | name | relname in PG_CLASS | Name of a materialized view. |
| matviewowner | name | rolname in PG_AUTHID | Owner of a materialized view. |
| tablespace | name | spcname in PG_TABLESPACE | Tablespace name of a materialized view. If the default tablespace of the database is used, the value is null. |
| hasindexes | Boolean | - | This column is true if a materialized view has (or has recently had) any indexes. |
| definition | text | - | Definition of a materialized view (a reconstructed SELECT query). |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.