zoukankan      html  css  js  c++  java
  • Oracle-exp不支持自扩展分区表的导出EXP-00006,EXP-00000

    一、Oracle-exp不支持自扩展分区表的导出

    有同事沟通说exp导出自扩展的分区表报错,测试了一下果然如此哈。

     CREATE TABLE "T_PART_TABLE"
       (    "ID" VARCHAR2(64),
        "PERSOID" NUMBER,
        "CODE" VARCHAR2(64),
        "NAME" VARCHAR2(64),
        "DEPT" VARCHAR2(64),
        "LOG_TIME" NUMBER,
        "LOG_TYPE" NUMBER,
        "CONTENT" VARCHAR2(1024),
        "RESULT" VARCHAR2(2),
        "SN" VARCHAR2(128),
        "DEPT_ID" NUMBER,
        "BLACK_FLAG" VARCHAR2(2 BYTE),
        "CREATE_TIME" Date)
        PARTITION BY RANGE (CREATE_TIME)  interval (numtodsinterval (1,'DAY'))
    (
     PARTITION part_p180613 VALUES LESS THAN (TO_DATE('2018-6-13', 'yyyy-mm-dd'))
     );
    insert into T_PART_TABLE(ID,CREATE_TIME) values(1,sysdate);
    insert into T_PART_TABLE(ID,CREATE_TIME) values(2,sysdate+1);
    commit;
    
    [oracle@t2 ~]$ exp yz/yz file=/home/oracle/T_PART_TABLE.dmp tables=T_PART_TABLE
    Export: Release 11.2.0.4.0 - Production on Tue Oct 19 13:28:37 2021
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export done in AL32UTF8 character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    EXP-00006: internal inconsistency error
    EXP-00000: Export terminated unsuccessfully

    二、学习MOS

    Exporting System or Composite Partitioned Table Using Classic Export Gives EXP-6 AND EXP-0 (Doc ID 762774.1)    
    Oracle Cloud Infrastructure - Database Service - Version N/A and later
    When exporting a composite. interval, or system partitioned table using conventional export utility, it fails with EXP-6 and EXP-0 errors:
    EXP-00006: internal inconsistency error
    EXP-00000: Export terminated unsuccessfully
    CAUSE
    Bug 7834212 has been filed regarding this problem. However, it should be noted that the new composite partitioning and system partitioning is a 11g feature.
    Classic Export does not support this. When a table with this feature is exported, an error message EXP-113 is raised:
    EXP-00113: Feature New Composite Partitioning Method is unsupported. Table <TABLE_NAME> could not be exported
    But the export would still complete.
    And in normal circumstances this error should continue to be seen.
    But if the table partition has split or added a new partition, it will now generate the EXP-6 and EXP-0 errors and fail to complete.
    SOLUTION
    Use Data Pump to perform exports of composite and interval partitioning and system partitioned tables as this is the recommended method.
    REFERENCES
    BUG:7834212 - EXPORT FAILS WITH EXP-6 AND EXP-0 ON PARTITIONED TABLE INSTEAD OF EXP-113

    小结: Oracle的意思就是说Oracle 11g有复合分区和自扩展分区的新特性,但是呢,这些新的特性Oracle exp不在支持了,所以报错! Oracle建议使用expdp而非exp!!!

  • 相关阅读:
    [转]IIS 6.0中配置HTTP Gzip压缩
    SmartPhone下解决rm、rmvb等格式电影播放的方案(参考意见)
    提取文件夹下所有文件,按类型进行提取
    重学JSP—设置CATALINA_HOME环境变量
    android学习笔记
    用myeclipse配置hibernate
    Java 回调函数 转自:http://blog.sina.com.cn/s/blog_48cf38890100go6x.html
    fastadmin单独控制编辑、删除按钮的展示和隐藏
    fastadmin导出图片
    php计算坐标距离
  • 原文地址:https://www.cnblogs.com/lvcha001/p/15426332.html
Copyright © 2011-2022 走看看