select a.last_call_et,
a.event,
a.sql_id,
a.sid,
a.serial#,
a.username,
a.sql_id,
a.osuser,
a.machine,
a.program
from v$session a,v$session_wait b
where a.sid=b.sid
and b.wait_class<>'Idle'
order by 1 desc
a.event,
a.sql_id,
a.sid,
a.serial#,
a.username,
a.sql_id,
a.osuser,
a.machine,
a.program
from v$session a,v$session_wait b
where a.sid=b.sid
and b.wait_class<>'Idle'
order by 1 desc
本文探讨了如何使用SQL查询来分析和优化数据库性能,重点关注等待类分析以提高效率。通过实例展示如何识别和解决数据库性能瓶颈。
2671

被折叠的 条评论
为什么被折叠?



