任何人都有任何想法?还有一个开源软件似乎也可以执行这种功能吗?
答案 0 :(得分:2)
蟾蜍做到了。它位于工具| SGA跟踪/优化下。
这是您的开源解决方案: - )
select distinct
vs.sql_text, vs.sharable_mem, vs.persistent_mem, vs.runtime_mem, vs.sorts, vs.executions,
vs.parse_calls, vs.module, vs.action, vs.buffer_gets, vs.disk_reads, vs.version_count,
vs.loaded_versions, vs.open_versions, vs.users_opening, vs.loads, vs.users_executing,
vs.invalidations, vs.serializable_aborts, vs.command_type,
to_char(to_date(vs.first_load_time,'YYYY-MM-DD/HH24:MI:SS'),'MM/DD HH24:MI:SS') first_load_time,
rawtohex(vs.address) address, vs.hash_value hash_value, vs.parsing_user_id
,rows_processed
,optimizer_mode
,vs.is_obsolete, vs.elapsed_time, vs.cpu_time
,vs.Child_latch, vs.fetches
,vs.program_id,vs.java_exec_time,vs.plsql_exec_time,vs.user_io_wait_time,
vs.cluster_wait_time, vs.concurrency_wait_time, vs.application_wait_time,
vs.direct_writes, vs.end_of_fetch_count
from v$sqlarea vs