'AWR'에 해당되는 글 1건

  1. 2013.03.13 오라클 awr 리포트 뽑기
posted by 구름너머 2013. 3. 13. 21:50

 AWR 구동되도록 하는 명령:

select count(*)
from scott.emp;

select *
from dba_tables
where table_name = 'EMP';

exec

dbms_stats.gather_table_stats(ownname=>'SCOTT',

tabname=>'EMP', estimate_percent=>100,

cascade=>true, degree=>1);

truncate table scott.emp;

select count(*)
from scott.emp;

select *
from dba_tables
where table_name = 'EMP';

------------------------------------------------------
cd $ORACLE_HOME/rdbms/admin/
pwd ==>
/u01/app/oracle/product/10.2.0/db_1/rdbms/admin

sqlplus '/as sysdba'
SQL>@ awrrpt.sql

'ORACLE' 카테고리의 다른 글

INDEX 분석  (0) 2013.03.26
오라클 falshback  (0) 2013.03.16
Oracle 수업내용  (0) 2013.03.11
오라클 분석함수 rank(), max(), sum()  (0) 2012.09.17
뷰생성 후 다른계정에서 조회가 안될경우  (0) 2012.09.03