(主要是给自己备忘)
监视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;
参考文献: