Solved

how to import dump from unix to windows

Posted on 2009-07-16
4
1,289 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
Comment Utility
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
Comment Utility
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
Comment Utility
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.

Join & Write a Comment

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

771 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

12 Experts available now in Live!

Get 1:1 Help Now