附脚本:
select
b.sequence#,
b.first_time,
a.sequence#,
a.first_time,
round(((a.first_time-b.first_time)*24)*60,2)
from v$log_history a, v$log_history b
where
a.sequence#=b.sequence#+1
and b.thread#=1
order by a.sequence# desc;
![](https://img2022.cnblogs.com/blog/567704/202203/567704-20220330084053695-541447624.png)
锲而不舍,水滴石穿