| |
SQL> alter table big_dept cache;
DBA_TABLES, USER_TABLES 자료사전을 검색해 보면 어떤 테이블이 캐시 테이블로 생성되어 있는지 알 수 있다.
SQL> select table_name, cache
from user_tables
where table_name in('BIG_EMP', 'BIG_DEPT');
TABLE_NAME CACHE
-------------------------------------
BIG_DEPT Y
BIG_EMP Y
2. HINT절을 통해 테이블을 캐싱하는 방법
SQL> SELECT /*+CACHE*/
from big_dept;
|