|
|
Re: Importing 10g dump in 11g with DATA_ONLY=Y in 11g and IGNORE = Y in 10g. [message #468891 is a reply to message #468887] |
Mon, 02 August 2010 07:49 |
maniatniit
Messages: 49 Registered: June 2010 Location: Mumbai
|
Member |
|
|
Hello,
Please find the console outputs below.
Import in Oracle 10g with ignore=Y option ( worked)
=============================================================
D:\>imp system/ace123@orcl file=17-keystoretab.dmp log=17-keystoretab.log fromuser=RABOQA touser=acetest ignore=y
Import: Release 10.2.0.4.0 - Production on Mon Aug 2 15:59:59 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export file created by EXPORT:V10.02.01 via conventional path
Warning: the objects were exported by RABOQA, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
export client uses US7ASCII character set (possible charset conversion)
. importing RABOQA's objects into ACETEST
. . importing table "KEYSTORETAB" 1 rows imported
Import terminated successfully without warnings.
=============================================================
import in Oracle 11g with IGNORE=Y option (did not worked)
=============================================================
D:\>imp pelsepa/PELSEPAMANAGER@orcl file=17-keystoretab.dmp log=17-keystoretab.log ignore=y fromuser=raboqa touser=pelsepa
Import: Release 11.2.0.1.0 - Production on Mon Aug 2 04:13:00 2010
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 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export file created by EXPORT:V10.02.01 via conventional path
Warning: the objects were exported by RABOQA, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
export client uses US7ASCII character set (possible charset conversion)
. importing RABOQA's objects into PELSEPA
IMP-00017: following statement failed with ORACLE error 959:
"CREATE TABLE "KEYSTORETAB" ("KEYSTORE_ID" VARCHAR2(25) NOT NULL ENABLE, "RE"
"SERVED_BY" VARCHAR2(15), "UPDATE_DATE" DATE, "VERIFIED_BY" VARCHAR2(15), "V"
"ALIDATED_BY" VARCHAR2(15), "STATUS" LONG NOT NULL ENABLE, "KEYSTORE_PASSWOR"
"D_PART" VARCHAR2(100), "KEYSTORE_PASSWORD" VARCHAR2(100) NOT NULL ENABLE, ""
"KEYSTORE" BLOB) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INIT"
"IAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "RA"
"BOQA" LOGGING NOCOMPRESS LOB ("KEYSTORE") STORE AS (TABLESPACE "RABOQA" EN"
"ABLE STORAGE IN ROW CHUNK 8192 RETENTION NOCACHE LOGGING STORAGE(INITIAL 6"
"5536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT))"
IMP-00003: ORACLE error 959 encountered
ORA-00959: tablespace 'RABOQA' does not exist
Import terminated successfully with warnings.
=================================================================
Import in Oracle 11g with DATA_ONLY option (worked)
=============================================================
D:\>imp pelsepa/PELSEPAMANAGER@orcl file=17-keystoretab.dmp log=17-keystoretab.log fromuser=raboqa touser=pelsepa data_only=y
Import: Release 11.2.0.1.0 - Production on Mon Aug 2 04:13:42 2010
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 file created by EXPORT:V10.02.01 via conventional path
Warning: the objects were exported by RABOQA, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
export client uses US7ASCII character set (possible charset conversion)
. . importing table "KEYSTORETAB" 1 rows imported
Import terminated successfully without warnings.
=============================================================
|
|
|
|
|
|
|
|
|
Re: Importing 10g dump in 11g with DATA_ONLY=Y in 11g and IGNORE = Y in 10g. [message #469288 is a reply to message #468929] |
Wed, 04 August 2010 02:32 |
maniatniit
Messages: 49 Registered: June 2010 Location: Mumbai
|
Member |
|
|
Hello,
Quote:IGNORE = Y , Import will try to create the object and if object already found, will suppress the error.
I have a query regarding usage of IGNORE=Y parameter while importing dump in the database. Below are the two cases where we have used IGNORE=Y.
When I try to import a dump (exported from 10g) in Schema_1 (on Oracle 10g) where the table structure is already present and it imports well without showing any error about tablespace.
=============================================================
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export file created by EXPORT:V10.02.01 via conventional path
Warning: the objects were exported by RABOQA, not by you
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
export client uses US7ASCII character set (possible charset conversion)
. importing RABOQA's objects into ACETEST
. . importing table "KEYSTORETAB" 1 rows imported
Import terminated successfully without warnings.
=============================================================
But when I try to import the same dump in Schema_2 (on Oracle 11g),here too the table structure already exist, the error is thrown regarding the creation of table
==============================================================
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Export file created by EXPORT:V10.02.01 via conventional path
Warning: the objects were exported by RABOQA, not by you
IMP-00017: following statement failed with ORACLE error 959:
"CREATE TABLE "KEYSTORETAB" ("KEYSTORE_ID" VARCHAR2(25) NOT NULL ENABLE, "RE"
"SERVED_BY" VARCHAR2(15), "UPDATE_DATE" DATE, "VERIFIED_BY" VARCHAR2(15), "V"
"ALIDATED_BY" VARCHAR2(15), "STATUS" LONG NOT NULL ENABLE, "KEYSTORE_PASSWOR"
"D_PART" VARCHAR2(100), "KEYSTORE_PASSWORD" VARCHAR2(100) NOT NULL ENABLE, ""
"KEYSTORE" BLOB) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INIT"
"IAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "RA"
"BOQA" LOGGING NOCOMPRESS LOB ("KEYSTORE") STORE AS (TABLESPACE "RABOQA" EN"
"ABLE STORAGE IN ROW CHUNK 8192 RETENTION NOCACHE LOGGING STORAGE(INITIAL 6"
"5536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT))"
IMP-00003: ORACLE error 959 encountered
ORA-00959: tablespace 'RABOQA' does not exist
Import terminated successfully with warnings.
=================================================================
|
|
|
|
|
|