DBA-处理异常常用SQL

--查询执行的SQL
SELECT t.parsing_schema_name,
       t.
*
  
FROM v$sqlarea t
 
WHERE t.parsing_schema_name IN ('APPS')
 
ORDER BY t.last_active_time DESC;

--查询会话信息
SELECT t.logon_time,
       t.
*
  
FROM v$session t
 
ORDER BY t.logon_time DESC


posted @ 2011-01-13 16:23  郭振斌  阅读(629)  评论(0编辑  收藏  举报