oracle 监控执行的sql语句
select * from v$sqlarea a where module='PL/SQL Developer' order by a.FIRST_LOAD_TIME desc
select * from v$sqlarea a where module='PL/SQL Developer' order by a.FIRST_LOAD_TIME desc
监视oracle的执行sql情况:
select q.sql_text
from v$session s, v$sqlarea q
where s.user# = q.parsing_user_id and s.status='ACTIVE'
and s.username='【用户名填在这里】'
order by q.FIRST_LOAD_TIME;