ORA-01653: THE_TABLE_NAME 테이블을 4(으)로 PF_DAT 테이블스페이스에서 확장할 수 없습니다
해결 방법 3가지
- TableSpace를 resize를 통해서 늘여주거나 Datafile을 추가한다.
- TableSpace의 AutoExtend를 off일 경우 on을 변경한다.
- Table별 데이타 용량을 체크하여 불필요한 데이타를 삭제한다.
해결 방법 1
- 테이블 스페이스를 늘려준다.
alter database datafile ‘c:\oracle\oradata\ora92\test_02.dbf’ resize 5M;
- Datafile을 추가하여 TableSpace를 늘여준다.
ALTER TABLESPACE app_data ADD DATAFILE ‘/DISK6/app04.dbf’ SIZE 200M
AUTOEXTEND ON NEXT 10M MAXSIZE 500M ;
해결 방법 2
- TableSpace가 autoextend가 off되어 있는지 확인한다.
select file_name, tablespace_name, bytes, autoextensible
from dba_data_files
where tablespace_name=’OMF_TS1’;
- 테이블 스페이스를 자동으로 사이즈가 늘어날 수 있도록 autoextend를 on으로 설정한다.
alter database datafile ‘c:\oracle\oradata\ora92\test_02.dbf’ autoextend on next 1M
해결 방법 3
- Table별 사용량을 조회한다.
-
데이타 삭제후 purge 작업을 수행한다.
alter database datafile ‘\app\oracle\oradata\orcl\sysaux01.dbf’ autoextend on next 1M;
alter database datafile ‘\home\oracle\app\oracle\oradata\orcl\system01.dbf’ autoextend on next 1M;
alter database datafile ‘\home\oracle\app\oracle\oradata\orcl\undotbs01.dbf’ autoextend on next 1M;
alter database datafile ‘\home\oracle\app\oracle\oradata\orcl\undotbs02.dbf’ autoextend on next 1M;
alter database datafile ‘\home\oracle\app\oracle\oradata\orcl\undotbs03.dbf’ autoextend on next 1M;
alter database datafile ‘\home\oracle\app\oracle\oradata\orcl\users01.dbf’ autoextend on next 1M;
alter database datafile ‘/home/oracle/app/oracle/oradata/orcl/undotbs01.dbf’ resize 30000M;
alter database datafile ‘/home/oracle/app/oracle/oradata/orcl/undotbs02.dbf’ resize 30000M;
alter database datafile ‘/home/oracle/app/oracle/oradata/orcl/undotbs03.dbf’ resize 30000M;