Tablespace 관리
Tablespace 관리
참조한 사이트
오류 증상
Tablespace 확인하기
Tablespace 증설
Tablespace 사용자 배정
Tablespace와 사용자 확인
Last updated
Last updated
ORA-01658: unable to create INITIAL extent for segment in tablespace SYSTEMcol file_name format a60
col bytes format 999,999,999
col free format 999,999,999
select a.file_id id, a.file_name, a.bytes, sum(b.bytes) free
from dba_data_files a, dba_free_space b
where a.file_id = b.file_id(+)
group by a.file_id, a.file_name, a.bytes, a.blocks;alter database datafile '파일경로' resize 크기; alter database datafile 'C:\oraclexe\app\oracle\oradata\XE\system.dbf' resize 500m;alter user 사용자이름 default tablespace 테이블스페이스명;-- tablespace, 파일명, 크기 확인
SELECT TABLESPACE_NAME, FILE_NAME, BYTES FROM dba_data_files;
-- tablespace에 배정된 사용자 확인
SELECT USERNAME, DEFAULT_TABLESPACE FROM dba_users;