zoukankan      html  css  js  c++  java
  • 查看shared_pool中未使用绑定变量的语句

    select d.plan_hash_value plan_hash_value,
           d.execnt          execnt,
           a.hash_value      hash_value,
           a.sql_text        sql_text
      from v$sqltext a,
           (select plan_hash_value, hash_value, execnt
              from (select c.plan_hash_value,
                           b.hash_value,
                           c.execnt,
                           rank() over(partition by c.plan_hash_value order by b.hash_value) as hashrank
                      from v$sql b,
                           (select count(*) as execnt, plan_hash_value
                              from v$sql
                             where plan_hash_value <> 0
                             group by plan_hash_value
                            having count(*) > 10
                             order by count(*) desc) c
                     where b.plan_hash_value = c.plan_hash_value
                     group by c.plan_hash_value, b.hash_value, c.execnt)
             where hashrank <= 3) d
     where a.hash_value = d.hash_value
     order by d.execnt desc, a.hash_value, a.piece
  • 相关阅读:
    理解OAuth 2.0
    RESTful API 设计指南
    揭秘淘宝286亿海量图片存储与处理架构
    Windows+Nginx+IIS做图片分布式存储详细步骤
    MongoDB GridFS最佳应用概述
    Qt 槽函数的使用
    Qt pro文件语法
    CentOS6.2下Qt5.1.0无法输入中文
    CentOS6.2下安装中文输入法
    CentOS6.2下安装Qt5.1.0
  • 原文地址:https://www.cnblogs.com/czjie/p/2254718.html
Copyright © 2011-2022 走看看