# GS_MATVIEWS
GS_MATVIEWS视图显示数据库中每一个物化视图的信息。
表1GS_MATVIEWS字段 
| 名称           | 类型   | 引用                                                                                                       | 描述                      |
|:---|:---|:---|:---|
| schemaname   | name | [PG_NAMESPACE](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-0998.html).nspname | 物化视图的模式名。               |
| matviewname  | name | [PG_CLASS](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-0976.html).relname     | 物化视图名。                  |
| matviewowner | name | [PG_AUTHID](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-0907.html).rolname    | 物化视图的所有者。               |
| tablespace                                                                   | name                                                                 | [PG_TABLESPACE](https://support.huaweicloud.com/distributed-ref-v10-gaussdb/gaussdb-08-1015.html).spcname                                                                | 物化视图的表空间名（如果使用数据库默认表空间则为空）。                                                                |
| hasindexes                                                                     | boolean                                                              | -                                                                                                                                                                         | 如果物化视图有（或者最近有过）任何索引，则此列为真。                                                               |
| definition   | text | -                                                                                                        | 物化视图的定义（一个重构的SELECT查询）。 |
   
