Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: exp full=y
Seems like you have two choices.
or 2) Import all non-oracle schemas individually.
Option 2 is cleaner but can be a lot more work since security has to be set up all over again. For a production environment, I would lean in this direction (actually, I would lean away from exp/imp and towards using a regular backup and renaming datafiles on the new machine unless there were other considerations). Option 1 should work fine.
Kevin Kennedy
First Point Energy Corporation
-----Original Message-----
Sent: Wednesday, July 03, 2002 8:53 AM
To: Multiple recipients of list ORACLE-L
On Wed, Jul 03, 2002 at 09:02:34AM -0400, Ray Stell wrote:
>
> I want to move a db to a different machine with a different disk
> layout. If I create the db and tablespaces on the new machine, can I
> use a dmp file created by exp full=y to move all the data? The dmp
> tries to create the tablespaces under the old structure, and these
> commands will fail, because the names are already there. Are there
> other things in the dmp that will shoot me in the foot?
-- Pressing on, I was able to hit a few toes. I get the following errors. I neglected to mention I am moving from 8.1.7.2 to 8.1.7.4. IMP-00017: following statement failed with ORACLE error 4042: "BEGIN " "SYS.DBMS_UTILITY.EXEC_DDL_STATEMENT('GRANT EXECUTE ON DBMS_DEFER_QUERY TO D" "BA');" "COMMIT; END;" IMP-00003: ORACLE error 4042 encountered ORA-04042: procedure, function, package, or package body does not exist ORA-06512: at "SYS.DBMS_SYS_SQL", line 824 ORA-06512: at "SYS.DBMS_SQL", line 32 ORA-06512: at "SYS.DBMS_UTILITY", line 409 ORA-06512: at line 2 All of the subsequent calls to DBMS_UTILITY get the same errors. So, what did I miss? Where is this utility supposed to be created? =============================================================== Ray Stell stellr_at_vt.edu (540) 231-4109 KE4TJC 28^D -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Ray Stell INET: stellr_at_cns.vt.edu 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: kkennedy INET: kkennedy_at_firstpoint.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 Wed Jul 03 2002 - 13:38:31 CDT