Home > Database > Mysql Tutorial > body text

如何查看oracle打开的游标

WBOY
Release: 2016-06-07 15:20:53
Original
2804 people have browsed it

oracle查看当前打开的游标数目和连接数: select count(*) from v$open_cursor; select count(*) from v$session; 查看当前打开的游标数 select * from v$sysstat where name = 'opened_cursors_current' 查看哪些会话打开了游标 select sid,count(*) from v

oracle查看当前打开的游标数目和连接数:

 

select count(*) from v$open_cursor;



select   count(*)   from   v$session;


查看当前打开的游标数

select * from v$sysstat where name = 'opened_cursors_current'


查看哪些会话打开了游标

select sid,count(*) from v$open_cursor group by sid having count(*)>1000;

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template