Oracle 视图 ALL_BASE_TABLE_MVIEWS 官方解释,作用,如何使用详细说明

本站中文解释

Oracle视图 ALL_BASE_TABLE_MVIEWS是一个显示具有基础表的主要表视图(MV)列表的数据字典视图,此视图列出属于当前用户或与当前用户创建的主表视图。

该视图の数据行包含下列信息:
* MVOWNER:MV的拥有者的用户名;
* CONTAINER_NAME:MV的内容库的名称;
* MV_NAME:MV的名称;
* REFRESH_MODE:MV的刷新模式;
* REFRESH_METHOD:MV的刷新方法;
* STATUS:状态,当前视图的最新信息;
* LAST_REFRESH_TYPE:最后一次刷新类型;
* MASTER_TYPE:主表类型;
* ROW_LEVEL_LAST_REFRESH_TYPE:行级最后刷新类型;
* LAST_REFRESH_DATE:最后一次刷新日期;
* ENABLED/DISABLED:物化视图完成任务状态标记;
* FAST_REFRESHABLE:表明视图是否可以使用快速刷新模式。

ALL_BASE_TABLE_MVIEWS视图可用于跟踪MV实例,以及查看MV刷新信息和MV内容库的完整信息。当我们需要查询某个特定的MV实例时,可以使用ALL_BASE_TABLE_MVIEWS视图来查看相应的信息,如刷新模式、刷新方法等。

官方英文解释

ALL_BASE_TABLE_MVIEWS describes the materialized views using materialized view logs accessible to the current user. A materialized view log can be created for a master, base table, or master materialized view. Query this view at the master site or the master materialized view site to show one row for each materialized view using a materialized view log.

Related Views

  • DBA_BASE_TABLE_MVIEWS describes all materialized views using materialized view logs in the database.

  • USER_BASE_TABLE_MVIEWS describes the materialized views using materialized view logs owned by the current user.

Column Datatype NULL Description

OWNER

VARCHAR2(128)

NOT NULL

Schema in which the master table or the master materialized view was created

MASTER

VARCHAR2(128)

NOT NULL

Name of the master table or the master materialized view

MVIEW_LAST_REFRESH_TIME

DATE

NOT NULL

Date when the materialized view based on the master was last refreshed

MVIEW_ID

NUMBER(38)

Unique identifier of the materialized view that is based on the master

See Also:

  • “DBA_BASE_TABLE_MVIEWS”

  • “USER_BASE_TABLE_MVIEWS”


数据运维技术 » Oracle 视图 ALL_BASE_TABLE_MVIEWS 官方解释,作用,如何使用详细说明