현재 temporary tablespace 설정 확인
SQL> select tablespace_name, bytes, file_name
from dba_temp_files;
SQL> select *
from database_properties
where property_name like '%TEMP%';
temporary tablespace 생성 & default temporary tablespace 지정
SQL> create temporary tablespace tmp
tempfile '/home/oracle/oradata/orcl/tmp01.dbf' size 10m;
SQL> select tablespace_name, bytes, file_name
from dba_temp_files;
tablespace_name bytes file_name
---------------- --------- --------------------------------------
TMP 10485760 /home/oracle/oradata/orcl/tmp01.dbf
TEMP 20971520 /home/oracle/oradata/orcl/temp01.dbf
SQL> alter databse default temporary tablespace tmp;
SQL> select *
from database_properties
where property_name like '%TEMP%';
'Oracle > SQL' 카테고리의 다른 글
Temporary tablespace drop 관련 체크 (0) | 2011.03.24 |
---|---|
oracle tablespace 저장 파일 경로와 이름 검색 (0) | 2011.03.24 |
[ORACLE] 권한(GRANT) 설정 (0) | 2011.03.24 |
TABLESPACE 만들기 (0) | 2011.03.24 |
USER 관련(생성, 변경, 삭제, 권한) (0) | 2011.03.24 |