Oracle 视图 ALL_EXPRESSION_STATISTICS 官方解释,作用,如何使用详细说明
本站中文解释
?
Oracle视图ALL_EXPRESSION_STATISTICS描述一个用户所有的表达式统计信息。它会显示一个表达式的微调信息,如它被编译过微调次数,该表达式的环境名等。
使用ALL_EXPRESSION_STATISTICS视图需要具有足够的privilege,这些privileges可以通过grant statement来被授权,具体语句如下:
GRANT SELECT ON sys.ALL_EXPRESSION_STATISTICS TO {user};
官方英文解释
ALL_EXPRESSION_STATISTICS
provides expression usage tracking statistics for tables that are accessible to the current user.
Related Views
-
DBA_EXPRESSION_STATISTICS
provides expression usage tracking statistics for all the tables in the database. -
USER_EXPRESSION_STATISTICS
provides expression usage tracking statistics for tables owned by the current user. This view does not display theOWNER
column.
Column | Datatype | NULL | Description |
---|---|---|---|
|
|
|
Owner of the table |
|
|
|
Name of the table contained in the expression |
|
|
Expression ID of the current expression |
|
|
|
Type of snapshot for the expression:
|
|
|
|
Number of times the expression has been evaluated |
|
|
|
|
Optimizer fixed cost of evaluating the expression |
|
|
Optimizer dynamic cost of evaluating the expression |
|
|
|
|
Text of the expression |
|
|
|
Time this expression is first evaluated |
|
|
Time this expression is last evaluated |
See Also:
-
“DBA_EXPRESSION_STATISTICS”
-
“USER_EXPRESSION_STATISTICS”
-
“V$EXP_STATS”