> sqlplus / as sysdba


> alert user scott

identified by oracle

account unlock;


> connect

scott/oracle


> select tname from tab;





- 실습문제배포용의 데이터파일 , 템프파일 경로 바꾸기


> conn / as sysdba



 - 내용 복사해서 붙여넣기 (콘솔)


> conn EXPERT/EXPERT


연결되었습니다


> @D:\oracle\script들\tuning_basic.sql





> conn / as sysdba

> show parameter db_keep_cache_size  

> show parameter db_keep_cache_size

> show parameter db_keep_cache_size


(킵,리사이클 디폴트 캐시 사이즈 확인)

기본은 하한 설정이 되어있지 않아 0으로 되어 있을것











실행계획




>grant select on v_$sql to scott;

>grant select on v_$session to scott;

>grant select on v_$sql_plan_statistics_all to scott;

권한 부여


>conn scott/oracle


>alter session set statistics_level=all;







auto trace로 보는 방법


>conn / as sysdba

> @?




+ Recent posts