Scripts:查看使用PGA最多的10个SQL的脚本hpga10.sql
来源:互联网 发布:华为s5700绑定mac地址 编辑:程序博客网 时间:2024/06/05 09:27
set line 230
alter session set nls_date_format='yyyy-mm-dd hh24:mi:ss';
select sysdate from dual;
col MACHINE for a30
col PROGRAM for a40
col USERNAME for a15
select * from (
select s.sid, s.serial#, s.logon_time,s.username, s.machine, s.program,s.process, s.sql_id, p.pga_alloc_mem/1048576 size_m, p.spid
from v$session s, v$process p where s.paddr=p.addr
and p.pga_alloc_mem > 104857600 order by 7 desc
)
where rownum < 11;
alter session set nls_date_format='yyyy-mm-dd hh24:mi:ss';
select sysdate from dual;
col MACHINE for a30
col PROGRAM for a40
col USERNAME for a15
select * from (
select s.sid, s.serial#, s.logon_time,s.username, s.machine, s.program,s.process, s.sql_id, p.pga_alloc_mem/1048576 size_m, p.spid
from v$session s, v$process p where s.paddr=p.addr
and p.pga_alloc_mem > 104857600 order by 7 desc
)
where rownum < 11;
0 0
- Scripts:查看使用PGA最多的10个SQL的脚本hpga10.sql
- Scripts:查看耗用buffer cache最多的10个SQL的脚本hbuf10.sql
- Scripts:查询物理读最多的10个SQL的脚本hphy10.sql
- Scripts:查询排序最多的10个SQL hsort10.sql
- Scripts:查询使用临时表空间最多的10个SQL htemp10.sql
- Scripts:查询使用UNDO最多的10个SQL hundo10.sql
- Scripts:找出使用最多buffer get的SQL脚本perf_top_sql_by_buffer_gets.sql
- Scripts:查看回滚的SQL的脚本 huigun.sql
- Scripts:找出使用最高的10个表的脚本perf_top_10_tables.sql
- Scripts:查看未提交的事务的脚本CurrentActivity.sql
- Scripts:找出磁盘读最多的SQL的脚本 perf_top_sql_by_disk_reads.sql
- Scripts:找出10个最高使用的过程perf_top_10_procedures.sql
- Scripts:查询每个数据文件使用效率的脚本perf_file_io_efficiency.sql
- Scripts:列出用户信息的脚本sec_users.sql
- sql查看cpu使用最多的和經常重編譯的
- sql查看cpu使用最多的和經常重編譯的
- Scripts:查看数据文件使用率的脚本(包括临时表空间的文件哦)dba_file_space_usage.sql
- Scripts:生成随机数的SQL脚本dba_random_number.sql
- Remote Scripting进阶教程---远程执行服务器脚本
- Python笔记——string.strip()
- 虚拟机类加载机制
- FZU 2129 子序列个数(DP)
- 关于何种情况下使用DataGrid、DataList或Repeater的一些讨论(1)
- Scripts:查看使用PGA最多的10个SQL的脚本hpga10.sql
- 利用System.IO中的Directory类对指定的目录进行遍历 "
- iOS开发准备篇-(2)Mac OS X截图操作
- C#入门基础之一(C#简介)
- <细节>C++函数形参表调用顺序
- VC中利用多线程技术实现线程之间的通信
- Scripts:查看耗用buffer cache最多的10个SQL的脚本hbuf10.sql
- LayoutInflater 全方位描述
- HDU1010第一道DFS