• Oracle11gR2用EXP导出时报EXP-00011错误的解决


    C:>exp businessdata/businessdata file=dropcol.dmp tables=ACSTRULE,ARREARSCFG,ARREARS_REPORT_ACCT,CREATE_INVOICE_ACTION,FINANCIAL_ACCOUNT,FINANCIAL_ACCOUNT_HIS,INVOICE,INVOICE_HISTORY,LIST_FEE_AMOUNT_PER_DUNNING,RULCOCAP,STEVREAC

    Export: Release 11.2.0.1.0 - Production on Mon Dec 5 19:59:39 2011

    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.


    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Produc
    tion
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    server uses AL32UTF8 character set (possible charset conversion)

    About to export specified tables via Conventional Path ...
    . . exporting table                       ACSTRULE          1 rows exported
    . . exporting table                     ARREARSCFG          2 rows exported
    EXP-00011: BUSINESSDATA.ARREARS_REPORT_ACCT does not exist
    . . exporting table          CREATE_INVOICE_ACTION          2 rows exported
    . . exporting table              FINANCIAL_ACCOUNT      14639 rows exported
    . . exporting table          FINANCIAL_ACCOUNT_HIS      14718 rows exported
    . . exporting table                        INVOICE      11526 rows exported
    . . exporting table                INVOICE_HISTORY          5 rows exported
    EXP-00011: BUSINESSDATA.LIST_FEE_AMOUNT_PER_DUNNING does not exist
    . . exporting table                       RULCOCAP          1 rows exported
    EXP-00011: BUSINESSDATA.STEVREAC does not exist
    Export terminated successfully with warnings.

    奇怪,查了半天表名也没写错。

    怎么就出EXP-00011错误了呢?

    在网上查了一下,原来是:

    SQL> show parameter DEFERRED_SEGMENT_CREATION

     

    NAME                                 TYPE                 VALUE

    ------------------------------------ -------------------- --------------------

    deferred_segment_creation            boolean              TRUE

    参数的问题。

    因为表里没有记录,所以没有段空间的记录,可以手工分配一个空间给这些表:

    SQL> alter table BUSINESSDATA.STEVREAC allocate extent(size 64k);

    Table altered.

    SQL> alter table BUSINESSDATA.ARREARS_REPORT_ACCT  allocate extent(size 64k);

    Table altered.

    SQL> alter table BUSINESSDATA.LIST_FEE_AMOUNT_PER_DUNNING  allocate extent(size
    64k);

    Table altered.

    再执行导出就可以了。

    About to export specified tables via Conventional Path ...
    . . exporting table                       ACSTRULE          1 rows exported
    . . exporting table                     ARREARSCFG          2 rows exported
    . . exporting table            ARREARS_REPORT_ACCT          0 rows exported
    . . exporting table          CREATE_INVOICE_ACTION          2 rows exported
    . . exporting table              FINANCIAL_ACCOUNT      14639 rows exported
    . . exporting table          FINANCIAL_ACCOUNT_HIS      14718 rows exported
    . . exporting table                        INVOICE      11526 rows exported
    . . exporting table                INVOICE_HISTORY          5 rows exported
    . . exporting table    LIST_FEE_AMOUNT_PER_DUNNING          0 rows exported
    . . exporting table                       RULCOCAP          1 rows exported
    . . exporting table                       STEVREAC          0 rows exported
    Export terminated successfully without warnings.

  • 相关阅读:
    如何提高码农产量,基于ASP.NET MVC的敏捷开发框架开发随笔一
    ASP.NET MVC快速开发框架清新简洁界面设计,有兴趣可以模仿参考
    大湿教我写程序(3)之自动补全(屌丝没有春天)篇
    大湿教我写程序(2)之走向AV之路
    大湿教我写程序(1)之菜单导航篇
    打造一套UI与后台并重.net通用权限管理系统
    如何提高码农产量,基于ASP.NET MVC的敏捷开发框架之自定义表单开发随笔四
    如何提高码农产量,基于ASP.NET MVC的敏捷开发框架之工作流开发随笔三
    摆平客户的需求变更之表单扩展属性
    快速开发框架(FDMS)新增1000个对外接口都不须要手写一行代码
  • 原文地址:https://www.cnblogs.com/he-xiang/p/5744281.html
Copyright © 2020-2023  润新知