Note
- For V4.4.x, this view was introduced in V4.4.0.
- For V4.3.5, this view was introduced in V4.3.5 BP2.
Purpose
This view displays the dependency relationships of materialized views in the current tenant.
Columns
| Column | Type | Nullable | Description |
|---|---|---|---|
| MVIEW_OWNER | VARCHAR2(128) | YES | The owner of the materialized view. |
| MVIEW_NAME | VARCHAR2(256) | YES | The name of the materialized view. |
| DEP_OWNER | VARCHAR2(128) | YES | The owner of the dependent object. |
| DEP_NAME | VARCHAR2(256) | YES | The name of the dependent object. |
| DEP_TYPE | CHAR(64) | NO | The type of the dependent object:
|
Sample query
Query the dependency relationships of materialized views in the current tenant.
obclient> SELECT * FROM sys.DBA_MVIEW_DEPS;
Sample result:
+-------------+------------------+-----------+---------------+------------------------------------------------------------------+
| MVIEW_OWNER | MVIEW_NAME | DEP_OWNER | DEP_NAME | DEP_TYPE |
+-------------+------------------+-----------+---------------+------------------------------------------------------------------+
| SYS | MV_EXT_TBL1 | SYS | EXT_TBL1 | EXTERNAL TABLE |
| SYS | MV1_TBL3_TBL4 | SYS | TBL3 | TABLE |
| SYS | MV1_TBL3_TBL4 | SYS | TBL4 | TABLE |
| SYS | MV_MV1_TBL3_TBL4 | SYS | MV1_TBL3_TBL4 | MV |
+-------------+------------------+-----------+---------------+------------------------------------------------------------------+
4 rows in set