Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Exp/Imp Errors: Tablespace Specific?
Hi,
I have One db instance containing three schemas to represent development, stage, and demo environments. I occassionally need to *roll* the schemas as a release occurs.
We have been using import/export to accomplish this. In the past, another dba has done this task (so this is why I ask the question now).
Schema1 (dev) Schema2 (stage) Schema3 (demo)
In order to roll out I did the following (after backing up all three of course:>):
Everything went fine except for step 5. I received errors on ALL of the PK constraints :
. . importing table "ACCOUNT" 17972 rows importedIMP-00015: following statement failed because the object already exists:
Also, received errors on ALL of the FKs (as the referencing PKs did not exist).
IMP-00003: ORACLE error 2270 encountered ORA-02270: no matching unique or primary key for this column-list IMP-00017: following statement failed with ORACLE error 2270:
My main question is why does it think that the object already exists? I imported using FromUser Touser. The only thing I can see is that the error also is containing the tablespace that is assigned to Schema1. Schema2 and Schema3 use the same tablespace which differs from the tablespace assigned to Schema1. ie:
Schema Default Tablespace ********** ********************* Schema1 tablespace1 Schema2 tablespace2 Schema3 tablespace2
I am wondering if the error is inaccurate and what the error should read is that the current user is not assigned as a resource to the named tablespace. So, I am wondering how to strip the tablespace specification out of the import.
Actually I am not understanding why it is there at all as I dont believe that the storage info should be there>?
Any clues?
Thanks,
Hannah
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: johanna.doran_at_sungard.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Thu Jun 06 2002 - 16:33:41 CDT