Solved

how to import dump from unix to windows

Posted on 2009-07-16
4
1,297 Views
Last Modified: 2012-08-14
Hi,
How can i import unix based oracle dump file into window based oracle.
I have idea about window based oracle exp/imp utility. But i have dump file of unix based oracle and i need to import into window based database.my window database version is  10.2.0.1.0 32 bit
THIS IS URGENT.
0
Comment
Question by:angnanesh
4 Comments
 
LVL 73

Accepted Solution

by:
sdstuber earned 168 total points
ID: 24869061
use the lowest version of exp between your databases
and the same version of imp as the destination database.

The platform doesn't matter.  The tools are the same

If both unix and windows db's are 10.2.0.1.0  then use that version of exp and imp.  
0
 
LVL 40

Assisted Solution

by:mrjoltcola
mrjoltcola earned 166 total points
ID: 24869116
To import from a full export file a _specific_ schema only, named fred, into a new schema user named barney...

With imp:
imp system/admin file=export.dmp fromuser=fred touser=barney


To do a FULL import, you need to ensure tablespaces exist prior to creation, as they will not correctly create when moving between heterogenous platforms like this.

Easiest is to list your tablespaces from the source database. (select tablespace_name from dba_tablespaces) but you can also list them from the dump file:

imp system/admin full=y show=y rows=n log=log.sql

Then edit log.sql and grab only the create tablespace statements and modify them to fit Windows and run the creates prior to the import.
0
 
LVL 47

Assisted Solution

by:schwertner
schwertner earned 166 total points
ID: 24869374
The main problems are:
1. Dumps are upward compatible, but not downward
2. NLS_LANG parameter should be set on both instances
3. Transfer - only in Binary mode

The dump itself is OS independent - it is Oracle proprietary binary file and works on all platforms
with same or up versions of Import.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Dataware house query tuning 9 65
Best RAID for a BDD Oracle 4 62
Bash Script to Analyze Oracle Schemas 11 85
su - oracle could not open session 6 53
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now