今天在oracle创建表时,报了ora-01658:无法为表空间USERS中的段创建INITIAL区
在网上林林总总的搜了很多解决方案,归纳一下:
出现这个错误的原因:
step1.查看表空间;
--查询表空间的总容量
select tablespace_name, sum(bytes) / 1024 / 1024 as MB
from dba_data_files
group by tablespace_name;
如果是表空间不足:
更改表空间大小SQL:
<wbr style="color:rgb(72,72,72); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(224,227,218)"><span style="color:rgb(72,72,72); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(224,227,218)"></span><wbr style="color:rgb(72,72,72); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(224,227,218)"><span style="color:rgb(72,72,72); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(224,227,218)"></span><wbr style="color:rgb(72,72,72); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(224,227,218)"><span style="color:rgb(72,72,72); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(224,227,218)"></span><wbr style="color:rgb(72,72,72); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(224,227,218)"><span style="color:rgb(72,72,72); font-family:simsun; font-size:14px; line-height:21px; background-color:rgb(224,227,218)">alter
tablespace space add datafile 'D:\ORACLE\ORADATA\CJF\TEMP12.ora' size 10m;</span><br></wbr></wbr></wbr></wbr>
如果磁盘空间不足会报:
OSD-04016: 异步 I/O 请求排队时出错。
O/S-Error: (OS 112) 磁盘空间不足。
本文介绍了在Oracle中创建表时遇到ORA-01658错误的解决方法,主要原因是表空间不足。文中提供了检查表空间大小及增加表空间容量的具体SQL语句。
790

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



