Wednesday, September 17, 2008

DBA_MVIEW_DETAIL_RELATIONS

DBA_MVIEW_DETAIL_RELATIONS represents the named detail relations that are either in the FROM list of a materialized view, or that are indirectly referenced through views in the FROM list. Its columns are the same as those in "ALL_MVIEW_DETAIL_RELATIONS".

Related Views

· ALL_MVIEW_DETAIL_RELATIONS describes the named detail relations that are either specified in the FROM list of the subquery that defines a materialized view accessible to the current user, or that are indirectly referenced through views in that FROM list. Inline views in the materialized view definition are not represented in this view or the related views.

· USER_MVIEW_DETAIL_RELATIONS describes such detail relations defined for all materialized views owned by the current user.

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 prior to Oracle8i and that were never altered to enable query rewrite.

Column

Datatype

NULL

Description

OWNER

VARCHAR2(30)

NOT NULL

Owner of the materialized view

MVIEW_NAME

VARCHAR2(30)

NOT NULL

Name of the materialized view

DETAILOBJ_OWNER

VARCHAR2(30)

NOT NULL

Detail object owner

DETAILOBJ_NAME

VARCHAR2(30)

NOT NULL

Detail object name (that is, the name of a table or view)

DETAILOBJ_TYPE

VARCHAR2(9)

TABLE, VIEW, SNAPSHOT, CONTAINER, or UNDEFINED

DETAILOBJ_ALIAS

VARCHAR2(30)

Implicit or explicit alias for detail relation

DETAILOBJ_PCT

VARCHAR2(1)

Is the detail object PCT supported? (Y or N)

NUM_FRESH_PCT_PARTITIONS

NUMBER

Number of fresh PCT partitions

NUM_STALE_PCT_PARTITIONS

NUMBER

Number of stale PCT partitions

Oracle data dictionary views

Oracle dynamic performance views

No comments:

Post a Comment