Error IMP-32 Obtained During Import (文件 ID 846397.1)
In this Document
|
Symptoms |
|
Cause |
|
Solution |
|
References |
Applies to:
Oracle Database - Enterprise Edition - Version 9.2.0.1 and laterInformation in this document applies to any platform.
***Checked for relevance on 09-Jul-2014***
Symptoms
You try to import an export dump using the original import utility (imp) and received the errors:
IMP-00008: unrecognized statement in the export file
Let's follow the next example that demonstrates this.
connect test/test
create table big_table
(
col000000000000000000000000001 varchar2(4000) not null,
col000000000000000000000000002 varchar2(4000) not null,
col000000000000000000000000003 varchar2(4000) not null,
col000000000000000000000000004 varchar2(4000) not null,
col000000000000000000000000005 varchar2(4000) not null,
col000000000000000000000000006 varchar2(4000) not null,
col000000000000000000000000007 varchar2(4000) not null,
col000000000000000000000000008 varchar2(4000) not null,
col000000000000000000000000009 varchar2(4000) not null,
col000000000000000000000000010 varchar2(4000) not null,
.... 1000 columns
col000000000000000000000001000 varchar2(4000) not null
);
-- insert one row into table
declare
i number := 1;
begin
insert into big_table values
(
lpad (to_char (i), 1000, '0'),
lpad (to_char (i), 1000, '0'),
lpad (to_char (i), 1000, '0'),
lpad (to_char (i), 1000, '0'),
lpad (to_char (i), 1000, '0'),
lpad (to_char (i), 1000, '0'),
lpad (to_char (i), 1000, '0'),
lpad (to_char (i), 1000, '0'),
lpad (to_char (i), 1000, '0'),
lpad (to_char (i), 1000, '0'),
.... 1000 columns
lpad (to_char (i), 1000, '0')
);
commit;
end;
/
Export the table with:
This ends with:
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
About to export specified tables via Conventional Path ...
. . exporting table BIG_TABLE 1 rows exported
Export terminated successfully without warnings.
Drop the table in schema TEST and import it back from written dump with:
This ends with:
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export file created by EXPORT:V11.01.00 via conventional path
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
. importing TEST's objects into TEST
IMP-00032: SQL statement exceeded buffer length
IMP-00032: SQL statement exceeded buffer length
IMP-00008: unrecognized statement in the export file:
R2(4000) NOT NULL ENABLE, "COL000000000000000000000000945" VARCHAR2(4000) NOT
NULL ENABLE, "COL000000000000000000000000946" VARCHAR2(4000) NOT NULL ENABLE, "C
OL000000000000000000000000947" VARCHAR2(4000) NOT NULL ENABLE, "COL0000000000000
00000000000948"...
IMP-00032: SQL statement exceeded buffer length
IMP-00008: unrecognized statement in the export file:
000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
00000000000000000000000000000000000000000000000000000000000000000000000000000000
000000000000000...
. importing TEST's objects into TEST
Import terminated successfully with warnings.
Cause
The internal BUFFER (default is OS dependent, e.g. 32 KB, if not specified in imp command line) is also used to transfer the DDL statements from export dump file to Oracle server. If the DDL exceeds the BUFFER length, then IMP-32 is raised.
To obtain the DDL length run at export (source) site the statement:
SQL_LENGTH
----------
67270
1 row selected.
The length of the DDL statement is in this case 67270 bytes, which exceeds the default BUFFER length (30720 bytes ~ 32 KB).
Solution
Increase the BUFFER size:
and the import succeeds:
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export file created by EXPORT:V11.01.00 via conventional path
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
. importing TEST's objects into TEST
. importing TEST's objects into TEST
. . importing table "BIG_TABLE" 1 rows imported
Import terminated successfully without warnings.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/21754115/viewspace-1797789/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Import Error: cannot import name ‘export_saved_modelImportErrorExport
- 【metalink】Export/Import DataPump Parameter TRACE (文件 ID 286496.1)ExportImport
- OUI-10020 'A Write Lock Cannot be Obtained' During Oracle Installation_358550.1UIAIOracle
- An error occurred during bosboot verification processingErrorboot
- NLS considerations in Import Export - Frequently Asked Questions (文件 ID 227332.1)IDEImportExport
- Subject: Bug 3827736 - LPX-225 during datapump import with statisticsImport
- Ora-12720 During Rman Duplication Of Database (文件 ID 341089.1)Database
- Ins-06001 During Grid Infrastructure Installation (文件 ID 1270620.1)ASTStruct
- 1nd round export and import errorExportImportError
- RAC Instance Crashes During Startup Due To Error 495Error
- 4.intellij IDEA Artifact /war exploded/ Error during artifact deployment. See seIntelliJIdeaError
- Error occurred during initialization of boot layer java.lang.module.FindExceptionErrorbootJavaIndexException
- 解決python MySQLdb import Error問題PythonMySqlImportError
- idea import配置IdeaImport
- Export and import right application or execute import imp-00010 error solveExportImportAPPError
- MyEclipse - Retrieving archetypes: has encountered a problem An internal error occurred duringEclipseError
- 錯誤Error during artifact deployment. See server log for details.ErrorServerAI
- Exclusive access could not be obtained because the database is in useAIDatabase
- ORA-55507: Encountered mining error during Flashback Transaction BackoutError
- Error during execution of SQL script for creation of master account ORA-00922:ErrorSQLAST
- idapython import 'site' failedPythonImportAI
- 【Linux+Python】叢集、ssh、python、import errorLinuxPythonImportError
- ORA-55507: Encountered mining error during Flashback Transaction Backout. functiError
- mysqldump: Error 2013: Lost connection to MySQL server during query when dumpingMySqlErrorServer
- webpack官網文件 :指南 -- 7.程式碼分割 - 使用import()WebImport
- 【idea_取消自動import .*】IdeaImport
- #import vs @importImport
- Best Practices for failover during server failures [ID 1323472.1]AIServer
- mysqldump匯出報錯"mysqldump: Error 2013 ... during query when dumping tableMySqlError
- redhat系統伺服器重啟後提示An error occurred during the file system check.Redhat伺服器Error
- 配置jboss5.1(jdk1.6)_啟動錯誤_Error occurred during initialization of VMJDKError
- MySQL報錯ERROR 2013 (HY000): Lost connection to MySQL server during queryMySqlErrorServer
- Eclipse下報錯 An internal error occurred during: "C/C++ Indexer". java.lang.NullPointerExceptionEclipseErrorC++IndexJavaNullException
- Getting "JVM_GetClassSignature" error message during upgrade of GC_888769.1JVMErrorGC
- cassandra啟動報錯:Exiting due to error while processing commit log during initialization.ErrorWhileMIT
- debian 7 linux 安裝jdk出現Error occurred during initialization of VM java/lang/NoClassDefFounLinuxJDKErrorJava
- Glide error 求解IDEError
- #import、#include、@import modules區別Import