`
sony-soft
  • 浏览: 1027524 次
文章分类
社区版块
存档分类
最新评论

Oracle中重建索引时如何解决“无法为表空间 XXXXXX 中的段创建INITIAL区”错误

 
阅读更多

解决办法:<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

如果出现这个警告,说明表空间空间不够了,应向表空间添加数据文件或者增大表空间已有的数据文件大小.

更详细的:

无法为表空间YXKFILE中的段创建 INITIAL 扩展块 如何解决??大侠救命!!

sql> create table tempb as select * from txlxb;
create table tempb as select * from txlxb

错误位于第1行:
ora-01658:
无法为表空间yxkfile中的段创建 initial 扩展块

解决方案:
1
、用alter tablespace yxkfile add datafile ...添加一个数据文件
2
、用alter tablespace datafile ... autoextend on开启datafile的自动扩展

网友在创建索引时出现问题:

我在今天重建索引时就出现了这样的错误:

sql>alter index t_xx rebuild partition t_xxx200603 tablespace idx_xxx200603;

sql>ORA-01658: 无法为表空间idx_xxx200603中的段创建 INITIAL

后来查看发现表空间idx_data200603不能自动扩展,即空间已不够用,我的解决办法是:

sql>alter database datafile '/rdbm/orasrv/idx_xxx200603.dbf' autoextend on;

再次重建索引就好了。

这里开启datafile的自动扩展

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics