If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Exp/imp

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-10-03, 13:08
eckertd eckertd is offline
Registered User
 
Join Date: Jul 2003
Location: New Jersey
Posts: 3
Exp/imp

I have an export file (expdat.dmp) from an AIX 5.2 server. Is it possible to IMPort it to a Solaris 9 server? Both servers running Oracle9i. My DBA tells me it can't be done without the exact datafiles in place...from what I remember (Oracle 6/7) the export file contains all the create tablespace commands in it...all I need is the paths to the datafiles.

Any info would be GREAT!

thanks!
Reply With Quote
  #2 (permalink)  
Old 07-10-03, 14:06
The_Duck The_Duck is offline
Registered User
 
Join Date: Jul 2003
Posts: 2,292
If only import 'touser' then it will use the default tablespace if it cannot find the actual.

Otherwise, if doing full=Y, I suggest creating the tablespaces ahead of time which should not be difficult.

Heck try it out without anything and see what happens
__________________
- The_Duck
you can lead someone to something but they will never learn anything ...
Reply With Quote
  #3 (permalink)  
Old 07-10-03, 14:16
eckertd eckertd is offline
Registered User
 
Join Date: Jul 2003
Location: New Jersey
Posts: 3
Quote:
Originally posted by The_Duck
If only import 'touser' then it will use the default tablespace if it cannot find the actual.

Otherwise, if doing full=Y, I suggest creating the tablespaces ahead of time which should not be difficult.

Heck try it out without anything and see what happens
A quick look at the expdat.dmp file (at least the first 100 lines or so) showed a bunch of "create tablespace" commands, with paths to datafiles. So, I created the same directory structure on the AIX server, and am keeping my fingers crossed.
Reply With Quote
  #4 (permalink)  
Old 07-10-03, 14:45
The_Duck The_Duck is offline
Registered User
 
Join Date: Jul 2003
Posts: 2,292
As long as it creates the datafiles with the Tablespace it should work then.
Have fun!
__________________
- The_Duck
you can lead someone to something but they will never learn anything ...
Reply With Quote
  #5 (permalink)  
Old 07-10-03, 14:59
aruneeshsalhotr aruneeshsalhotr is offline
Registered User
 
Join Date: Jul 2003
Location: US
Posts: 314
Arrow Exp & Imp

exp / file=abc.exp tables=tablespace1.tablename1 buffer=16000000

I use the above command to perform the export of tablename1 from tablespace tablespace1.

Can u please verify the requirement in your case.
Reply With Quote
  #6 (permalink)  
Old 07-10-03, 15:05
aruneeshsalhotr aruneeshsalhotr is offline
Registered User
 
Join Date: Jul 2003
Location: US
Posts: 314
Arrow Imp command

I use the following command with respect to my previous posting

imp / file=abc.exp fromuser=user touser=user ignore=y buffer=16000000 indexes=n
Reply With Quote
  #7 (permalink)  
Old 07-10-03, 15:09
eckertd eckertd is offline
Registered User
 
Join Date: Jul 2003
Location: New Jersey
Posts: 3
Re: Exp & Imp

Quote:
Originally posted by aruneeshsalhotr
exp / file=abc.exp tables=tablespace1.tablename1 buffer=16000000

I use the above command to perform the export of tablename1 from tablespace tablespace1.

Can u please verify the requirement in your case.
The EXPort was takes with full=Y as the SYS user. We ran a benchmark on a IBM p650 in the spring, and now need the exact database on a SunFire 6800 for the same test suite. I think I feel comfortable that this will work fine...just gotta convince the DBA now...heheh.

Thanks!

--Doug
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On