Oracle 视图 V$SQL_CS_STATISTICS 官方解释,作用,如何使用详细说明
本站中文解释
Oracle视图V$SQL_CS_STATISTICS是一个动态性能视图,用于报告在某一暂时快照期间执行的SQL语句的查询转换统计。
V$SQL_CS_STATISTICS用于报告关于在某一时间快照之前的执行的SQL语句的语句性能的统计信息,其中包括语句驱动的查询转换数量,被使用的查询转换的概要,平均查询次数,SQL语句解析次数等信息。V$SQL_CS_STATISTICS用于调整SQL语句,改善查询性能,监视包含语句执行频率的选项变化,以及记录SQL语句的用量(类似于SQL监控器的被记录的数据)。
V$SQL_CS_STATISTICS可以通过SQL语句进行查询,具体格式如下:
SELECT * FROM V$SQL_CS_STATISTICS;
官方英文解释
V$SQL_CS_STATISTICS
contains the raw execution statistics used by the monitoring component of adaptive cursor sharing. A sample of the executions is monitored. This view exposes which executions were sampled, and what the statistics were for those executions. The statistics are cumulative for each distinct set of bind values.
Column | Datatype | Description |
---|---|---|
|
|
Address of the handle to the parent for this cursor |
|
|
Hash value of the parent statement in the library cache |
|
|
SQL identifier of the parent cursor in the library cache |
|
|
Number of the child cursor being monitored |
|
|
Hash of the values of the binds |
|
|
Indicates if this is the bind set used to build the cursor (Y) or not (N) |
|
|
Number of times this bind set has been executed and monitored |
|
|
Cumulative number of rows processed by all row sources in the plan over all monitored executions with this bind set |
|
|
Cumulative number of buffer gets over all monitored executions with this bind set |
|
|
Cumulative CPU time (in microseconds) used by this cursor for monitored executions with this bind set |
|
|
The ID of the container to which the data pertains. Possible values include:
|