Oracle 视图 DBA_MVREF_RUN_STATS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图DBA_MVREF_RUN_STATS表示一组运行聚簇索引(Clustered Index)统计信息。它包含有关特定数据表或片段上已执行的统计信息(如实际和预期行数)以及表或片段的实际物理属性(如每行的印记大小和实际行的平均的长度)的信息。这些统计信息可以帮助数据库管理员优化表和片段的实施,并有助于为不同的查询提供最佳性能。
要查看关于DBA_MVREF_RUN_STATS的信息,可以通过使用SQL语句在具有查询权限的用户下调用该视图。下面是一个使用此视图的例子:
SELECT * FROM DBA_MVREF_RUN_STATS WHERE TABLE_OWNER = ‘OWNER_NAME’;
此语句将查询所有有关拥有者名为OWNER_NAME的表和片段的统计信息。
官方英文解释
DBA_MVREF_RUN_STATS
has information about each refresh run for all the materialized views for the database, with each run being identified by the REFRESH_ID
. The information includes timing statistics related to the run and the parameters specified in that run.
Related View
USER_MVREF_RUN_STATS
has information about each refresh run for the materialized views accessible for the current database user, with each run being identified by the REFRESH_ID
. The information includes timing statistics related to the run and the parameters specified in that run. This view does not display the RUN_OWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the refresh operation (the user who launched the operation) |
|
|
|
The refresh ID of the refresh run |
|
|
|
The number of materialized views being refreshed in the run |
|
|
Shows the list of comma separated parameters specified in the API for the materialized view refresh operation |
|
|
|
For internal use only |
|
|
|
The |
|
|
|
The |
|
|
|
The |
|
|
|
The |
|
|
|
The |
|
|
|
The |
|
|
|
The |
|
|
|
The |
|
|
|
The |
|
|
|
The |
|
|
|
The number of failures that occurred in processing the API |
|
|
|
Start time of the refresh run |
|
|
|
End time of the refresh run |
|
|
|
The length of time for the refresh run, in seconds |
|
|
|
Log setup time (in seconds) for the materialized view for a non-atomic refresh; |
|
|
|
Log purge time (in seconds) for the materialized view in the case of atomic refresh; |
|
|
|
Indicates whether all the complete refresh statistics are available for this run:
|
See Also:
“USER_MVREF_RUN_STATS”