Oracle 视图 ALL_MVIEW_LOGS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图ALL_MVIEW_LOGS用于显示所有受该用户归属的增量迁移视图的注释日志,以及迁移豁免的MV的状态信息。
通过使用本视图可以查看增量迁移视图更新时的日志,便于检测MV的情况。要查看MV更新日志,可以使用 ALL_MVIEW_LOGS 视图,列出 MV_NAME 分区名,状态,更新时间,持续时间,发行表,和更新语句等信息。
举例:
SELECT mv_name,mv_owner,mv_comment,split_part,mapping_table,last_update,update_statement
FROM all_mview_logs
WHERE split_part=’SALE’ AND mv_owner=’CURRENT_USER_NAME’;
官方英文解释
ALL_MVIEW_LOGS
describes all materialized view logs accessible to the current user.
Related Views
-
DBA_MVIEW_LOGS
describes all materialized view logs in the database. -
USER_MVIEW_LOGS
describes all materialized view logs owned by the current user.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
Owner of the materialized view log |
|
|
|
Name of the master table or master materialized view whose changes are logged |
|
|
|
Name of the table where the changes to the master table or master materialized view are logged |
|
|
|
Obsolete with Oracle8i and later. Set to NULL. Formerly, this parameter was an after-row trigger on the master which inserted rows into the log. |
|
|
|
Indicates whether rowid information is recorded ( |
|
|
|
Indicates whether primary key information is recorded ( |
|
|
|
Indicates whether object identifier information in an object table is recorded ( |
|
|
|
Indicates whether filter column information is recorded ( |
|
|
|
Indicates whether the sequence value, which provides additional ordering information, is recorded ( |
|
|
|
Indicates whether both old and new values are recorded ( |
|
|
|
Indicates whether the materialized view log is purged asynchronously ( |
|
|
|
Indicates whether the materialized view log is purged in a deferred manner ( |
|
|
|
For deferred purge, the purge start date |
|
|
|
For deferred purge, the purge interval |
|
|
|
Date of the last purge |
|
|
|
Status of the last purge (error code or |
|
|
|
Number of rows purged in the last purge |
|
|
|
Indicates whether the materialized view log is commit SCN-based ( |
|
|
|
Indicates whether the materialized view log is a staging log for synchronous refresh ( |
|
|
|
Indicates whether the materialized view log is an automatic materialized view log. Possible values:
|
Footnote 1 This column is available starting with Oracle Database 21c.
See Also:
-
“DBA_MVIEW_LOGS”
-
“USER_MVIEW_LOGS”