

 Amazon Redshift will no longer support the creation of new Python UDFs starting Patch 198. Existing Python UDFs will continue to function until June 30, 2026. For more information, see the [ blog post ](https://amazonaws-china.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/). 

# SVV\$1MV\$1INFO
<a name="r_SVV_MV_INFO"></a>

The SVV\$1MV\$1INFO table contains a row for every materialized view, whether the data is stale, and state information. 

For more information about materialized views, see [Materialized views in Amazon Redshift](materialized-view-overview.md).

SVV\$1MV\$1INFO is visible to all users. Superusers can see all rows; regular users can see only their own data. For more information, see [Visibility of data in system tables and views](cm_chap_system-tables.md#c_visibility-of-data).

## Table columns
<a name="r_SVV_MV_INFO-table-columns"></a>

[\[See the AWS documentation website for more details\]](http://docs.amazonaws.cn/en_us/redshift/latest/dg/r_SVV_MV_INFO.html)

## Sample query
<a name="r_SVV_MV_INFO-sample-query"></a>

To view the state of all materialized views, run the following query. 

```
select * from svv_mv_info;
```

This query returns the following sample output. 

```
 
database_name |       schema_name       | user_name |   name  |  is_stale | state | autorefresh | autorewrite
--------------+-------------------------+-----------+---------+-----------+-------+-------------+----------------
 dev          | test_ivm_setup          | catch-22  | mv      |   f       |     1 |           1 |           0
 dev          | test_ivm_setup          | lotr      | old_mv  |   t       |     1 |           0 |           1
```