Green World

반응형

오라클 실행된 쿼리와 bind data 확인하기







SELECT a.SQL_ID,a.sql_fulltext,b.name,b.value_string


FROM V$SQLAREA a,


v$sql_bind_capture b


WHERE a.LAST_LOAD_TIME BETWEEN SYSDATE - 1/24 AND SYSDATE


  AND a.PARSING_SCHEMA_NAME <> 'SYS'


  --AND SQL_TEXT LIKE 'W'


  AND a.MODULE = 'JDBC Thin Client'


  AND a.PARSING_SCHEMA_NAME = ㅎㅎㅎㅎㅎ


  --AND ROWNUM=1


  --and b.value_string is not null


  and a.sql_id =b.sql_id


order by a.LAST_LOAD_TIME desc,sql_id, name asc










반응형