标题: logminer分析实际应用 [打印本页] 作者: 刘泽宇 时间: 2022-1-9 18:17 标题: logminer分析实际应用 1.找到要进行分析的归档日志文件
select to_char(first_time,'yyyy-mm-dd hh24:mi:ss') as TIME,blocks,NAME from v$archived_log where first_time between to_date('2022-01-05 04','yyyy-mm-dd hh24') and to_date('2022-01-05 05','yyyy-mm-dd hh24') and dest_id=1 order by 1 desc;