Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: ORA-02270 error during import

Re: ORA-02270 error during import

From: Ron Rogers <RROGERS_at_galottery.org>
Date: Tue, 26 Jun 2001 07:23:00 -0700
Message-ID: <F001.003380AE.20010626061107@fatcity.com>

Easaw,
It appears that you are trying to import the child table before the parent table exists. I think the disabeling the constraint before you export should help. Or break the export into smaller parts and export the tables in different dmp files then import them in the proper order for the constraints to work. ROR mª¿ªm

>>> etm_at_VITOL.com 06/26/01 08:20AM >>>

hi

Error during import: ORA-02270: no matching unique or primary key for this column-list

i am in the process of migrating my oracle databases from dg/ux to solaris8 OS. at the same time, i am taking the opportunity to resize the tables, indexes to cater for growth in the near future.

to do this, i hv created fresh the new database with improved settings (given the luxury of disk space we hv now), created the tables and indexes with new sizings, moved the export over to the new machine and reimported it. the export was a full export.

on import, i get the above error which means that it cant create a foreign key constraint becos the primary key constraint for the table has not been created. this is the case for quite a few of the tables but most of the 400 or so tables were fine.

why should this occur and under what circumstances wld this occur? and how do i fix this?

almost all the documentation i hv checked including oracle web sites do not offer a solution and I am not sure the best way forward without a lot of workaround being done which may not be ideal.

wld any Oracle gurus be kind enough offer any ideas or thoughts on this except that the export/import utility is probably buggy.

many thanx
Easaw T Mathew

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: Easaw T Mathew
  INET: etm_at_VITOL.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).

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Ron Rogers
  INET: RROGERS_at_galottery.org

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 Tue Jun 26 2001 - 09:23:00 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US