현재 temporary tablespace 설정 확인
temporary tablespace 생성과 default temporary tablespace 지정
temporary tablespace의 삭제
select tablespace_name, bytes, file_name from dba_temp_files;
col property_name a30
col property_value for a30
col description for a40
select * from database_properties where property_name like '%TEMP%';
col property_name a30
col property_value for a30
col description for a40
select * from database_properties where property_name like '%TEMP%';
temporary tablespace 생성과 default temporary tablespace 지정
create temporary tablespace <tablespace 명>
tempfile '<파일 명>' size 10M;
select tablespace_name, bytes, file_name from dba_temp_files;
alter database default temporary tablespace <tablespace 명>;
select * from database_properties where property_name like '%TEMP%';
tempfile '<파일 명>' size 10M;
select tablespace_name, bytes, file_name from dba_temp_files;
alter database default temporary tablespace <tablespace 명>;
select * from database_properties where property_name like '%TEMP%';
temporary tablespace의 삭제
* default로 지정된 temporary tablespace 는 지워지지 않는다.
drop tablespace <tablespace 명>
* 삭제 된 temporary tablespace 확인
select tablespace_name, bytes, file_name from dba_temp_files;
select * from database_properties where property_name like '%TEMP%';
drop tablespace <tablespace 명>
* 삭제 된 temporary tablespace 확인
select tablespace_name, bytes, file_name from dba_temp_files;
select * from database_properties where property_name like '%TEMP%';
'Admin' 카테고리의 다른 글
| index 사용 유무 모니터링 (0) | 2008/10/22 |
|---|---|
| Checking indexes (0) | 2008/10/22 |
| Temporary tablespace 생성과 default temporary tablespace 지정 (0) | 2008/10/22 |
| tablespace 관리 명령어 (0) | 2008/10/19 |
| spfile의 controlfile정보의 변경 (0) | 2008/10/17 |
| logfile 조작 명령어 (0) | 2008/10/16 |
TAG temporary

댓글을 달아 주세요