ora 01658

来源:互联网 发布:node.js php哪个简单 编辑:程序博客网 时间:2024/06/05 15:40

转自:http://52347.iteye.com/blog/670236

select dbms_metadata.get_ddl('TABLE','T_CORRECT_END') FROM DUAL; 


 ALTER TABLE T_CORRECT_END enable constraint PK_T_CORRECT_END; 

 在oracle里创建表,报出错:ORA-01658: 无法为表空间space中的段创建 INITIAL 区;或者: ORA-01658: unable to create INITIAL extent for segment in tablespace string,查了些资料,原来是因为表空间不够用了,增加了表空间后,问题解决了。 
      查看表空间大小SQL: 
       select SEGMENT_TYPE,owner,sum(bytes)/1024/1024 from  
       dba_segments 
       where tablespace_name='KMIS_DATA' 
      group by segment_type,owner 
     更改表空间大小SQL: 
     alter tablespace space add datafile 'D:\ORACLE\ORADATA\CJF\TEMP03.ora' size 10m; 


0 0
原创粉丝点击