| select * from v$open_cursor where sid = :sid l SQL Text:返回当前选择会话正在执行的SQL 对应的SQL语句: select sql_text from v$sqltext_with_newlines where address = hextoraw(:sql_address) and hash_value = :sql_hash_value order by piece l Statics:返回当前选择会话的数据库统计信息 对应的SQL语句: select names.name, stats.statistic#, stats.value from v$sesstat stats, v$statname names where stats.sid = :sid and names.Statistic# = stats.Statistic# order by stats.Value desc l Locks(SQL语句进行过优化):返回当前选择会话锁定的对象 对应的SQL语句: select * from sys.all_objects a,v$locked_object b where a.object_id=b.object_id and b.session_id=:sid l Wait(本人个人定制查询):返回当前选择会话的等待信息 对应的SQL语句: select * from v$session_wait where sid=:sid l Event(本人个人定制查询):返回当前选择会话的事件信息 对应的SQL语句: select * from v$ 上一页 [1] [2] [3] [4] 下一页 |