Home  >  Article  >  Database  >  oracle数据库导入导出时,ORA-39083;ORA-00439错误解决思路

oracle数据库导入导出时,ORA-39083;ORA-00439错误解决思路

WBOY
WBOYOriginal
2016-06-07 17:41:082165browse

ORA-39083:ObjecttypeTABLE:TEST.TEST_SS_NAMEfailedtocreatewitherror:ORA-00439:featurenotenabled:DeferredSegmentCreation错误解析与解决方法;错误:当表为

 ORA-39083: Object type TABLE:"TEST"."TEST_SS_NAME" failed to create with error:

ORA-00439: feature not enabled: Deferred Segment Creation

错误解析与解决方法;

错误:当表为空时,美国空间,不分配segment,以便节省空间,导致表在新库中是无法创建的。

解决方法:

查看源库中deferred_segment_creation的状态;

设置deferred_segment_creation状态为false,以便以后可以顺利导出导入空表;

查看当前用户下所有的空表;

对空表进行数据添加删除的操作;

重新导出、导入数据;

 

1、查看源库、目标库的deferred_segment_creation状态:

 

[html] 

 

2、将状态true设置为false;

 

[html] 

  • [html] 

  • System altered.  
  • [html] 

  • 查看设置后的状态  
  • [html] 


    3、查看源库中的空表:

     

    select table_name from user_tables where NUM_ROWS = 0;  

     

    4、对查出来的空表进行数据编辑,并及时还原为原来的空值;

     

    5、重新导入导出数据即可;

    expdpusername/password@ORACLESID DIRECTORY=/backup/oracleDUMPFILE=test00001.dmp

    impdpusername/password@ORACLESID DIRECTORY=/backup/oracleDUMPFILE=test00001.dmp remap_schema=username:username

    本文出自 “孤城烟雨话凄凉” 博客,香港虚拟主机,香港服务器,请务必保留此出处

    Statement:
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn