개발 및 관리/Oracle 9i, 10g, 11g, 12c, 19c
특정 테이블스페이스(TBS1)의 데이터파일 확인 후 데이타 파일 생성하여 추가
HighLighter
2012. 6. 27. 22:39
반응형
1. 특정 테이블스페이스(TBS1)의 데이터파일 확인
select file_name, bytes/1024/1024
from dba_data_files
where tablespace_name='TBS1';
select autoextensible
from dba_data_files
where tablespace_name='UNDOTBS1';
select autoextensible
from dba_data_files;
2. TBS1에 3GB(3072MB) 크기로 /oradata/oradata/TBS1_02.dbf 데이터파일을 생성하여 추가
alter tablespace TS_ETRD1
add datafile '/oradata/oradata/TBS1_02.dbf'
size 3072m;
반응형