首页 > 数据库 > Oracle > 查询操作占用cpu很高语句
select a.username,b.username,b.OSUSER,b.logon_time,b.PROGRAM,c.sql_fulltext
from v$process a,v$session b,v$sql c where b.PADDR = a.ADDR and b.sql_id=c.sql_id and a.spid='&pid';
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29065182/viewspace-1135614/ ,如需转载,请注明出处,否则将追究法律责任。