Oracle查询SQL历史执行记录

--查询SQL历史执行记录,用户名需要大写

select t.LAST_ACTIVE_TIME,t.* from v$sqlarea t where t.PARSING_SCHEMA_NAME in ('用户名') order by t.LAST_ACTIVE_TIME desc

猜你喜欢

转载自af8991.iteye.com/blog/1924178