oracle查看数据库操作日志

oracle查看数据库操作日志

select * from v$logfile;

select * from v$sql 
       where last_active_time>to_date('2020/11/27 15:59:29', 'yyyy-mm-dd hh24:mi:ss') 
       and last_active_time<to_date('2020/11/27 16:00:29', 'yyyy-mm-dd hh24:mi:ss')
       and sql_text like '%update%' and sql_text like '%ka%'
       order by last_active_time desc;

select * from v$sqlarea;

  

posted on 2020-11-27 16:08  iUpoint  阅读(6865)  评论(0编辑  收藏  举报

导航