Oracle 查看SQL执行耗时

运行超长SQL监控SQL:

select * from v$session_longops a where a.time_remaining>0

可以监控运行时间长的sql,可以大概评估时间

只能看 有全表扫描的,或者hash jion的。 

猜你喜欢

转载自blog.csdn.net/paopaopotter/article/details/84754183
今日推荐