the issue: upon attempting to run a create table statement the error ‘Oracle ORA-01658 Unable to Create INITIAL Extent for Segment in Tablespace SYSTEM’ appears
the solution: there are a number of ways that Oracle suggests you can do to remedy this issue
-
add a new datafile into the tablespace to increase space. example:
ALTER TABLESPACE SYSTEM ADD DATAFILE 'D:/ZENNI/Oracle/app/oracle/oradata/XE/system2.dbf' SIZE 1000M AUTOEXTEND ON NEXT 200M; -
set AUTOEXTEND on for the data file for the tablespace. example:
ALTER DATABASE DATAFILE 'c:/oraclexe/oradata/xe/system2.dbf' AUTOEXTEND ON; -
increase the size of the existing datafile. example:
ALTER DATABASE DATAFILE 'c:/oraclexe/oradata/xe/system2.dbf' RESIZE 25M;
-
add a new datafile into the tablespace to increase space. example:
i actually tried the autoextend but that did not remedy the issue for me. i then added a datafile to the tablespace. that seemed to work.
note: if you’re using windows, remember to turn your file separator around from a / to a if you are using the SQL Command Line. you can see this in the examples above.
本文介绍了当尝试在Oracle数据库中创建表时遇到ORA-01658错误的解决方案。该错误通常是因为表空间SYSTEM空间不足导致。文章提供了三种解决方法:添加新的数据文件到表空间以增加空间;为表空间的数据文件设置自动扩展;扩大现有数据文件的大小。
785

被折叠的 条评论
为什么被折叠?



