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: <Ravinder_Bahadur_at_singaporeair.com.sg>
Date: Tue, 26 Jun 2001 21:49:29 -0700
Message-ID: <F001.003396A5.20010626213025@fatcity.com>

Probably some one has already replied to this , in case yes then .....just ignore ...........

Well this kind of problem is quite common. This is because the export does the export in alphabetical order and so the import does the same. If you contraints are based on tables which come later in the alpha order you will hit this problem. The best solution in this case is to import either at table level ( you will need to make sure of all the related tables are in a sequence). The other way is to disable all foreign constraints and load and then enable them again.

Regards
Ravinder                                                                                             

                    Easaw T                                                            
    
                    Mathew               To:     Multiple recipients of list ORACLE-L  
    
                    <etm_at_VITOL.co        <ORACLE-L_at_fatcity.com>                        
    
                    m>                   cc:                                           
    
                    Sent by:             Subject:     ORA-02270 error during import    
    
                    root_at_fatcity.                                                      
    
                    com                                                                
    
                                                                                       
    
                                                                                       
    
                    26-Jun-2001                                                        
    
                    08:20 PM                                                           
    
                    Please                                                             
    
                    respond to                                                         
    
                    ORACLE-L                                                           
    
                                                                                       
    
                    Sender Info:                                                       
    
                    No Sender                                                          
    
                    Info found in                                                      
    
                    the address                                                        
    
                    Book                                                               
    
                                                                                       
    
                                                                                       
    




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). ______________________________________________________________________________________ Visit us at www.singaporeair.com. ______________________________________________________________________________________ -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: INET: Ravinder_Bahadur_at_singaporeair.com.sg 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 - 23:49:29 CDT

Original text of this message

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