Use exp/imp to migrate a database
hi,
I want to migrate a database from window to hp unix,
Can I use the following way? thanks!
First,exp from windows:
1.exp the schema without data
2.exp the whole database with data
Second,imp to unix:
1.use dbca to create a database;
2.imp the schema
3 imp the data to all schema.
Yes. Just make sure that you do a binary file transfer between windows and unix system otherwise you will end up with a corrupted dump.
Even after transfer, just to make sure, you can have a trial import with indexfile and show options to check the integrity of the dump.
Probably you can merge steps 2 and 3 of import in 1 step.
Similar Messages
-
Using exp/imp to clone a database from Solaris to NT
Hi All,
We have an 8.1.6 Oracle database in production under Sun Solaris.
We actually use this database to run Siebel CRM system.
We have a Windows NT server which we used as a QA system
for this application.
We have a daily full export of our production database on the
Sun machine. Now my manager wants to import this production
dmp file into this Win NT database on a weekly basis.
The goal here is to maintain the state of this NT database
as much functional and close to the production one as possible.
I would appreciate your help on this.
I have some other general question:
in which case can the Oracle imp utility be run in the
full=y mode ?
does this make any sense at all ?
since the Oracle import utility does not delete
any existing objects before it imports, these objects
should be deleted manually and that's what I do
with all Siebel users schemas; of course I do not
do this with SYS, SYSTEM and other special Oracle
users; question: are there any objects in these
special Oracle schemas that have to be carried over from
the source database to the target database to
make the rest of the schemas functional ?
Somehow I failed to find Oracle documentation on how
to use exp/imp to create a complete clone of an Oracle
database.
Can direct path be used with full=y export/import mode ?
Thank you in advance,
Yuriy.As an alternative to using daily/weekly exports and imports, what would probably be more effective here would be replication. The databases could synch on a nightly basis and updated tables and rows will be transferred from your OLTP system to your read-only system. More information can be found on replication from "Oracle8i DBA Handbook" by Kevin Loney and Marlene Therialt.
LM
PS. IGNORE=Y -
Using exp imp on 11i apps database
Hi,
Does anyone have experience in using exp and imp utility on 11i apps database? Is there any special method to achieve this.
I want to do a full export and do an import.
Do we get any performance benefits if we do this?
Regards,
SAHi Sa;
Does anyone have experience in using exp and imp utility on 11i apps database? Is there any special method to achieve this. You want to take exp imp for which issue?
I want to do a full export and do an import.Follow:
10g Export/Import Process for Oracle Applications Release 11i [ID 331221.1]
Export/import process for R12 using 11gR1 [ID 741818.1]
Do we get any performance benefits if we do this?It depends many segment but finaly u will make one process on server and it has cost,answer you can have some performance issue while you are taking exp-imp
Regard
Helios -
Database upgrade from 8i to 10g using exp/imp
Dear Friends,
Please provide the steps to upgrade from 8i to 10g using exp/imp.
Thanks,
RathinavelHi;
Please also see cold backup option
How to migrate from 8i to 10g to new server using cold backup [ID 742108.1]
Also see:
Upgrading from 8i to 10g with import utility
http://searchoracle.techtarget.com/answer/Upgrading-from-8i-to-10g-with-import-utility
Regard
Helios -
Hi All,
I need to refresh one of my development database using exp/imp utility,i did refreshing using the copy datafiles but new to this ,i have gone thru this forum and did some search on google too but the part that am not getting is suppose my development db already created with same tablespaces name and size and containes every schema as that of source and has data in it which is refreshed earlier, so do i need to wipe out everything and do it right from scratch(create db,tablespace,users) or just wipe out tables and import with (ignore=Y) .Any feedback would be apperciated.
Thanks<p class="MsoNormal">Hi,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">>> do i need to wipe out everything and do it right from
scratch(create db,tablespace,users)</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Well you have choices, and you can do whatever you want,
but there are some “best practices”. I’m assuming that you are copying your
PROD database into DEV (a great practice to have a full-sized production system
the TEST and DEV):</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">- You can restore PROD into TEST using RMAN.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">- You can use the
<a style="color: blue; text-decoration: underline; text-underline: single" href="http://download-east.oracle.com/docs/html/B16227_02/oui7_cloning.htm">
Oracle Universal Installer</a> to clone a database.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">- You can “<a style="color: blue; text-decoration: underline; text-underline: single" href="oracle_tips_db_copy.htm">clone
the whole database</a>”, moving the current datafiles and recreating the
instance</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">- You can export from PROD, truncate the tables in DEV
(after a backup) and import IGNORE=Y. This can be very slow, especially for a
large database. However, there are some
<a style="color: blue; text-decoration: underline; text-underline: single" href="http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:1240595435323">
tips to speed-up imports</a>.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Check the
<a style="color: blue; text-decoration: underline; text-underline: single" href="http://search.oracle.com/">
Oracle docs</a>. Also, Dave Moore has a book on
<a style="color: blue; text-decoration: underline; text-underline: single" href="http://www.amazon.com/Oracle-Utilities-Programs-Oradebug-Dbverify/dp/0972751351">
Oracle Utilities</a> that you might like.</p>
Hope this helps . . . .
Don Burleson
<p>
www.dba-oracle.com -
Dear all,
I wanted to migrate database from 8i to 11g(8.1.5 to 11.1.0). I am going for exp/imp method. Which is the best method of doing this task? I mean Full export and Import Or Schemawise export and import? Is there any chances of missing objects or rows while doing this task? If yes, How to avoid? Please help me to take a best decision. I dont want any problem after migration.
Approach is (take exp of 8.1.5 and imp in 9.2.0) then (exp of 9.2.0 and imp it to 11.1.0.6)
OS is HP Unix
Nishant SanthanHave you not yet completed this task? As we have already answered to your question a couple of days back.
Take a look at the similar duplicate thread created by you.
Re: Migrating from 8i to 11g
Regards,
Sabdar Syed. -
Using exp/imp appears to fail
Hello Everyone.
We are trying to export a set of table from one Oracle Database to another and have come across a problem.
Exporting via PL/SQL developer (v7) appears to be fine but when we try to import the generated .dmp file using the imp tool, it fails with this error:
IMP-00017: following statement failed with ORACLE error 905:
"CREATE TABLE "GEOM_TABLE" ("UUID" VARCHAR2(36) NOT NULL ENABLE, ""
"NAME" VARCHAR2(50), "ORDINATES" "MDSYS"."SDO_GEOMETRY", "DRAWING_UUID" VARC"
"HAR2(36)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65"
"536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "GEOM_SPACE"
"" LOGGING NOCOMPRESS VARRAY "ORDINATES"."SDO_ELEM_INFO" ELEMENT STORE AS L"
"OB (ENABLE STORAGE IN ROW CHUNK 16384 RETENTION CACHE STORAGE(INITIAL 65"
"536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)) VARRAY "ORDINATES"."
""SDO_ORDINATES" ELEMENT STORE AS LOB (ENABLE STORAGE IN ROW CHUNK 16384 R"
"ETENTION CACHE STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER"
"_POOL DEFAULT)) COLUMN "ORDINATES" NOT SUBSTITUTABLE AT ALL LEVELS "
IMP-00003: ORACLE error 905 encountered
ORA-00905: missing keyword
This only appears to happen when there is a reference to MYSYS.SDO_GEOMETRY. It is preventing the data migration from completing so does anyone have any ideas?
Thanks in advance.Hi,
Table is based on type MDSYS.SDO_GEOMETRY (Spatial Data Types and Metadata), Check spatial is configured on your Target database and you have privilege to access that object using your schema.
HTH -
question and enhancement request(!) -
some customers/prospects claim teamworking / reusable components. goal is to use a page (including its components like regions,processes,items,...) in another application - could realized by exp/imp if we can do it.
This would improve reusability and also teamworking.
I work together with a collegue on an application at htmldb.oracle.com. We exported the appl. and work on our local databases at different tasks by different pages.
But how we can reimport our results?Lutz,
It's kind of difficult, but Raj described a procedure here: Synonyms
We are aware of the potential value of being able to copy pages between applications and are looking at ways to provide that in future versions of HTML DB.
Scott -
Schema Refresh using exp/imp.
Hello All,
I want to perform Schema Refresh of SAMPLE user from producation to Testing envrionment using export/import.
Cud u plz tell what is the command to perform it ?
Also Cud anyone plz tell me whether same user(SAMPLE) in Test environment gets dropped before Import done.
Can i Perform the exp/imp using sys/system or user SAMPLE?tvenkatesh07 wrote:
Hello All,
I want to perform Schema Refresh of SAMPLE user from producation to Testing envrionment using export/import.
Cud u plz tell what is the command to perform it ?
Also Cud anyone plz tell me whether same user(SAMPLE) in Test environment gets dropped before Import done.
Can i Perform the exp/imp using sys/system or user SAMPLE?If you're runnnig 10g, then use Data Pump and read the documentation:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_export.htm#i1007466
http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_import.htm#i1007653
My Oracle Video Tutorials - http://kamranagayev.wordpress.com/oracle-video-tutorials/ -
How to upgrade a DB using EXP/IMP
Guys
I need to upgrade a small DB using IMP and EXP from 8i to 9i. Can you guys help me with the steps. Perhaps I was using the wrong search words, but I found no satisfying answers on google.
1. Recreate the target database TRGT with the correct tablespace definitions.
I need to query from dba_datafiles, dba_tablespaces, dba_temp_files?
2. EXPort the source database SRC
3. IMPort the dump file
I am little unsure of step #1. Can you help me with the details pls?
TIA. Recreate the target database TRGT with the correct tablespace definitions.I need to query from dba_datafiles, dba_tablespaces, dba_temp_files?
Before starting the import,u need to create a fresh database on new 9i server.and create new tablespaces with same name that was present in 8i.after it u can start ur import with using ignore=y,otherwise it says following tablespace is already exists.
**import also automatically create the required tablespaces but if u want to change the storage attributes or location of dbf files ,its better that u create it manually before starting imp.
Kuljeet -
How to use exp,imp in oracle 8i version....
Hi developer ...
I am using oracle 8i version in windows xp platform. Can you please explain how to export and import my tables in to export.txt file.
with
Regards
sure...:)--Hi,
Did you want to downgrade from 8i to 7.0, 7.3 and 8.0 ?
To downgrade, you need to use the export utility from the target database.
So, you will need three export files :
Run the 7.0 export to export from the 8i database, and import into a 7.0 database with the 7.0 import utility.
Same for 7.3 and 8.0 database.
More info into metalink note : Compatibility Matrix for Export & Import Between Different Oracle Versions - Note:132904.1
Nicolas. -
Exp/imp for upgrading database
Hi, Is it a good idea to use exp / imp to upgrade a database from 9i to 11g.To overcome parallel I plan to set ll tables degree to 8 manually and then start the export.Which is better conventional upgrade or exp/imp
HI,
Please check Oracle support id : How to Perform a Full Database Export Import during Upgrade, Migrate, Copy, or Move of a Database (Doc ID 286775.1)
Thank you -
Migrate oracle 9207 DB 8 TB size frm Solaris to AIX?dont want Exp/Imp
Hi Guys,PLz help
I want migrate 8TB oracle database from Solaris 8 to AIX 5.
In my last post on the same topic I was told to refer Metalink notes
291024.1,Note:77523.1,Note:277650.1
acc to these notes 'EXPORT/IMPORT IS THE ONLY OPTION TO MIGRATE FROM SOLARIS TO AIX'.
I was not convinced as In http://dba.ipbhost.com/index.php?showtopic=9523
I read
"As both solaris and AIX are UNIX O/S, cloning the DB is also possible from source box to target box"
Also
whats the role of "If the endianness is the same"??????
Can you guys plz comment on this again.....as I'm really confused because exp/imp of 8TB
is going to take half of my life :)
PLz tell in any other option in 9.2.0.7?If we have
ThanxYou can do
SELECT PLATFORM_NAME, ENDIAN_FORMAT
FROM V$TRANSPORTABLE_PLATFORMto check endianness of different platform.
-- Note, the view is only on 10g and above.
datafiles from different endian format can't be directly copied over and use. On 10g you have option to use RMAN convert endianness.
with that said, since Solaris and AIX are all big engianness. That means you can directly copy datafiles over and clone database without using exp/imp.
this article has a list of how to clone
http://www.dba-oracle.com/oracle_tips_db_copy.htm -
Migrate exp/imp into data pump
Hi Experts,
we use exp/imp to exp data 150G and works to support stream in past time.
As I know, that data pump will speed up exp.
How to migrate ex/imp syntax into data pump?
my imp/exp as
exp USERID=SYSTEM/tiger@test OWNER=tiger FILE=D:\Oraclebackup\CLS\exports\test.dmp LOG=D:\Oraclebackup\test\exports\logs\exportTables.log OBJECT_CONSISTENT=Y STATISTICS=NONE
imp USERID=SYSTEM/tiger FROMUSER=tiger TOUSER=tiger CONSTRAINTS=Y FILE=test.dmp IGNORE=Y COMMIT=Y LOG=importTables.log STREAMS_INSTANTIATION=Y
Thanks
JimYou are right - expdp more faster and useful than classic exp utility
There are several features in EXPDP
- may do only local on current server
- you must create directory object in database &
grant read,write priveleges to user
For Example:
create directory dump as 'd:\export\hr';
grant read,write on directory dump to hr;
Then we may do export:
expdp hr/hr DIRECTORY=dump DUMPFILE=test.dmp LOGFILE=exportTables.log
After export we will see two files in directory 'd:\export\hr'
Other features see from expdp help=y & Oracle Documentation
Edited by: Vladandr on 15.02.2009 22:07 -
Steps to migrate 10g database form HP-UX to RHEL 5
Hi All,
Please guide me how to migrate 10g database form HP-UX to RHEL 5.
Regards,
W@sThey're in different endian format, you need to use exp/imp or expdp/impdp.
sys> select * from V$TRANSPORTABLE_PLATForm where platform_id in (3,13);
PLATFORM_ID PLATFORM_NAME ENDIAN_FORMAT
3 HP-UX (64-bit) Big
13 Linux x86 64-bit Little
sys>
Maybe you are looking for
-
No sound in iPad app Ninenewsbreak on my ipad2
Hi guys and gals I am a newbie to this site and have just purchased an iPad 2. I have the Australin app called Ninenewsbreak and the app works well on my iphone4 BUT the sound won't work on my iPad. I have uninstalled and reinstalled it 3 times and s
-
How to restrict accounting doc generation while excise invoice creation
Hi, i have to restrict accounting document generation while excise invoice creation through J1IIN. i can't use statistical in my pricing proceedure since this is excise group and plant specific requirement. same priicing proceedure is being used acro
-
I've been trying all day to update or restore my ipod but it won't go through without running into a last minute "error".
-
In photoshop elements 12 i try to select multiple people to view in organize but can only select one
in photoshop elements 12 i try to select multiple people to view in organize but can only select one person at a time. if I try to select two or more people to see their pictures, I get nothing. I try to use CTL-click, but that does not work
-
Hello all, Please excuse my being too detailed. After installing Forms 11g, Reports 11g in a new Windows 7 Professional 64bit machine, I was able to run both the Forms Builder and Reports Builder. I then moved my forms and reports into a different fo