DATABASE/ORACLE
[oracle] 실행중인 쿼리 검색
Rainbound-IT
2022. 12. 26. 13:27
반응형
SELECT
a.sid,
a.serial#,
a.status,
a.process,
a.username,
a.osuser,
b.sql_text,
c.program
FROM
v$session a,
v$sqlarea b,
v$process c
WHERE
a.sql_hash_value=b.hash_value
AND a.sql_address=b.address
AND a.paddr=c.addr
AND a.status='ACTIVE';
https://wakestand.tistory.com/539
반응형