v$sql
2017-10-11 09:51
92 查看
V$SQLlists statistics on shared SQL areas without the
GROUP BYclause and contains one row for each child of the original SQL text entered. Statistics displayed in
V$SQLare 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
相关字段信息请查询官档
相关文章推荐
- linux之SQL语句简明教程---外部连接
- (转) java 通过 jdbc 链接 ms sql server 中出现 "no suitable driver for ..."
- sqlserver 连接oracle 配置详解 .
- 常用的SQL语句1
- SQL FOR XML 查询【原创】
- 广州某公司笔试题(英文)-SQL
- Linux系统中SQLPlus不能使用Backspace的解决办法
- SQL大全(很强大)第三部分
- sql查询效率优化
- hibernate原生sql封装,报错信息:could not find setter for rownum_
- SQL语句NOT IN优化之换用NOT EXISTS
- 数据库基础及常用SQL语句
- Sql 存储过程(带有事务)
- t-sql - 使用游标来遍历数据
- 【Oracle】/etc/resolv.conf配置导致的sqlplus登录过慢
- 【备忘】liquibase,.xml中的各种标签,支持的sql语句
- java 解决oracle US7ASCII编码,sql查询时
- plsql的命令(command)窗口与sql窗口有什么区别20170620
- SQL与脚本语言
- 关于 SQL 和 Recordset 的小知识