欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  数据库

Oracle 11g R2用EXP导出时报EXP-00011错误的解决

程序员文章站 2022-06-04 15:35:50
...

Oracle 11g R2用EXP导出时报EXP-00011错误的解决

Oracle 11g R2用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.

Oracle 11g R2用EXP导出时报EXP-00011错误的解决