您的位置:首页 > 数据库

v$sql

2017-10-11 09:51 92 查看
V$SQL
lists statistics on shared SQL areas without the
GROUP BY
clause and contains one row for each child of the original SQL text entered. Statistics displayed in
V$SQL
are normally updated at the end of query execution. However, for long running queries, they are updated every 5 seconds. This makes it easy to see the impact of long running SQL statements while they are still in progress.
v$sql视图列举了共享SQL区(Shared SQL Area)中的SQL统计信息,这个视图中的信息未经分组,每个SQL指针都包含一条独立的记录

v$sql 用于查看child cusor,v$sqlarae 用于查看parent cusor.
父游标存储SQL文本,子游标存储SQL解析树和执行计划
父游标辨别标识:sql_id 子游标辨别标识:SQL_ID和child_number标识
子游标伴随父游标而生,起始子游标标识为 0
相关字段信息请查询官档
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  v$sql