실행된 쿼리 보기 :
select * from v$sql where rownum < 10 and parsing_schema_name like 'PFM4ORA' order by first_load_time desc;
select * from v$sqltext where rownum < 10;
select * from v$sqlarea where rownum < 10 and parsing_schema_name like 'PFM4ORA' order by first_load_time desc;
SHARED_POOL CLEAR : 실행된 쿼리로그 날리기(v$sqlarea가 비워짐)
SQL> conn / as sysdba
SQL> alter system flush shared_pool;
exsample)
select * from v$sqlarea where rownum < 10 and parsing_schema_name like 'PFM4ORA' order by first_load_time desc;
select * from v$sqlarea where parsing_schema_name like 'PFM4ORA' order by first_load_time desc;
select * from v$sqlarea order by first_load_time desc;
select * from v$sql order by first_load_time desc;
alter system flush shared_pool;
'DB' 카테고리의 다른 글
AUDIT - 감사 (0) | 2010.07.30 |
---|---|
SQL99 - Insert All, MERGE, IS NAN, INTERVAL (0) | 2010.07.30 |
Index-Organized Table(IOT), Partitioned Table & Index (0) | 2010.07.30 |
lock 관련 (0) | 2009.02.27 |
Oracle Character set 변경 (3) | 2009.02.12 |
Oracle Version 확인 (0) | 2009.02.12 |
user/tablespace sql & export/import (0) | 2009.02.12 |
Oracle 10g install / client install / uninstall - CentOS 5.2 (0) | 2009.02.12 |