Oracle 视图 ALL_MVIEW_JOINS 官方解释,作用,如何使用详细说明
本站中文解释
说明
ALL_MVIEW_JOINS表是Oracle的一个系统数据字典视图,用于展示物化视图(Materialized Views)中所涉及到的连接关系,具体包括视图名称、列信息、表名及其列等。
通常由DBA负责操作该视图,目的是分析视图是否满足特定需求,以及按需调整物化视图的表连接信息。使用的SQL语句如下:
SELECT * FROM ALL_MVIEW_JOINS;
官方英文解释
ALL_MVIEW_JOINS
describes joins between two columns in the WHERE
clause of the subquery that defines a materialized view accessible to the current user.
Related Views
-
DBA_MVIEW_JOINS
describes all such joins for all materialized views in the database. -
USER_MVIEW_JOINS
describes such joins for all materialized views owned by the current user.
Note:
All three views exclude materialized views that reference remote tables or that includes references to a nonstatic value such as SYSDATE
or USER
. These views also exclude materialized views that were created as “snapshots” before Oracle8i and that were never altered to enable query rewrite.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the materialized view |
|
|
|
Materialized view name |
|
|
|
Owner of the first object in the joinFoot 1 |
|
|
|
Name of the first object in the joinFoot 1 |
|
|
|
Join column of the first object in the joinFoot 1 |
|
|
Join operatorFoot 1 |
|
|
|
Indicates whether the join is an inner join ( |
|
|
|
|
Owner of the second object in the joinFoot 1 |
|
|
|
Name of the second object in the joinFoot 1 |
|
|
|
Join column of the second object in the joinFoot 1 |
Footnote 1
These rows relate only to materialized join views and materialized aggregate views. They describe the two detail objects of a materialized view join.
See Also:
-
“DBA_MVIEW_JOINS”
-
“USER_MVIEW_JOINS”