Note
This view is available starting with V4.3.0.
Purpose
The DBA_MVREF_STATS_PARAMS view displays the refresh statistics attributes associated with each materialized view.
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| MV_OWNER | VARCHAR2(128) | NO | The name of the materialized view owner. |
| MV_NAME | VARCHAR2(128) | NO | The name of the materialized view. |
| COLLECTION_LEVEL | VARCHAR2(8) | NO | The refresh statistics collection level
|
| RETENTION_PERIOD | NUMBER | NO | The number of days for which refresh statistics are retained. |
Sample query
Query the refresh statistics attributes associated with each materialized view.
obclient [test_db]> SELECT * FROM SYS.DBA_MVREF_STATS_PARAMS;
The query result is as follows:
+----------+---------------+------------------+------------------+
| MV_OWNER | MV_NAME | COLLECTION_LEVEL | RETENTION_PERIOD |
+----------+---------------+------------------+------------------+
| test_db | mv1_tbl1_tbl2 | TYPICAL | 31 |
| test_db | mv2_tbl1_tbl2 | TYPICAL | 31 |
| test_db | t1_mv0 | TYPICAL | 31 |
+----------+---------------+------------------+------------------+
3 rows in set (0.020 sec)