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
- crsd.bin Fail With Error CRS-1019 When ohasd Restarted (文件 ID 2291799.1)AIErrorREST
- MyEclipse - Retrieving archetypes: has encountered a problem An internal error occurred duringEclipseError
- mysqldump: Error 2013: Lost connection to MySQL server during query when dumpingMySqlErrorServer
- Error occurred during initialization of boot layer java.lang.module.FindExceptionErrorbootJavaIndexException
- ORA-55507: Encountered mining error during Flashback Transaction Backout. functiError
- 錯誤Error during artifact deployment. See server log for details.ErrorServerAI
- mysqldump匯出報錯"mysqldump: Error 2013 ... during query when dumping tableMySqlError
- 【Linux+Python】叢集、ssh、python、import errorLinuxPythonImportError
- MySQL報錯ERROR 2013 (HY000): Lost connection to MySQL server during queryMySqlErrorServer
- 4.intellij IDEA Artifact /war exploded/ Error during artifact deployment. See seIntelliJIdeaError
- cassandra啟動報錯:Exiting due to error while processing commit log during initialization.ErrorWhileMIT
- redhat系統伺服器重啟後提示An error occurred during the file system check.Redhat伺服器Error
- ORA-31687: error creating worker process with worker id 1Error
- ORA-8103 Troubleshooting, Diagnostic and Solution (文件 ID 8103.1)
- webpack官網文件 :指南 -- 7.程式碼分割 - 使用import()WebImport
- This is the easiest to observe during the gameGAM
- 【MOS】Creating a PDB ... Fails With ORA-17630 (文件 ID 2090019.1)AI
- win10系統安裝饑荒後無法執行出現error during initialization如何解決Win10Error
- Library Cache 診斷:Lock, Pin 以及 Load Lock (文件 ID 1548524.1)
- require()、import、import()有哪些區別?UIImport
- Python import相關內容區別介紹( import *** as 、from***import )PythonImport
- RMAN restore fails with ORA-01180: can not create datafile 1 (文件 ID 1265151.1)RESTAI
- 轉存——Quartus II FPGA程式模擬執行時出現錯誤“error occurred during modelsim simulation”的解決方法FPGAError
- SCSS @importCSSImport
- CSS @importCSSImport
- export/importExportImport
- Oracle 18c - 配置只讀 OracleHome / DBCA / Patching / Upgrade (文件 ID 2469646.1)Oracle
- eslint-plugin-import 規則之 Import / OrderEsLintPluginImport
- 徹底搞懂Python 中的 import 與 from importPythonImport
- @import註解Import
- idea import配置IdeaImport
- vite css importViteCSSImport
- 重啟docker服務後,容器啟動報錯:Error response from daemon: id already in useDockerError
- python基礎--自定義模組、import、from......import......PythonImport
- ORA-279 signalled during: alter database recover logfileDatabase
- 如何確定Single-Primary模式下的MGR主節點(文件 ID 2214438.1)模式
- link和@import引入css 區別,不建議使用@importImportCSS
- pgsql 執行建庫指令碼時候出現ERROR: relation "xxx_id_seq" does not existSQL指令碼Error