Data Migration using Datapump [message #506881] |
Wed, 11 May 2011 09:51  |
 |
geobraik
Messages: 34 Registered: April 2011
|
Member |
|
|
Hi
I got an assignment to create Oracle 11g db. I will be provided the full datapump export dump of an Oracle 10g db in linux. I need to import it to 11g Database in Windows. I have no information about the tablespaces, users etc
I have created db with system,sysaux,undotbs temp and users tablespaces.
Please suggest me best practices and steps to be followed.
Thanks in advance
Geobraik
[Updated on: Wed, 11 May 2011 09:53] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Data Migration using Datapump [message #507940 is a reply to message #507861] |
Wed, 18 May 2011 09:46   |
 |
geobraik
Messages: 34 Registered: April 2011
|
Member |
|
|
Hi
I tried using exp. It is working.
But the problem is creating and granting roles and privileges. Can you tell me how to find roles granted to this user, roles and privileges granted to these roles etc
ie if user u1 has rol1; rol1 has role2; rol2 has rol3; rol3 has some system privileges..
Then how can I generate create script and grant script for these roles?
Please suggest so that I can send the script to client to generate sripts for roles
[Updated on: Wed, 18 May 2011 09:48] Report message to a moderator
|
|
|
|
|
|
Re: Data Migration using Datapump [message #507954 is a reply to message #507952] |
Wed, 18 May 2011 10:21   |
cookiemonster
Messages: 13965 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
So to clarify:
1) You want to create a new DB with the combined contents - users, roles, objects of two different existing databases.
2) You do not have access to these two existing databases.
3) The people who do have access have no idea how to give you the necessary scripts to recreate what they have.
Does that sum it up?
|
|
|
|
|
|
|
|
|
|
Re: Data Migration using Datapump [message #507999 is a reply to message #507982] |
Wed, 18 May 2011 16:59   |
cookiemonster
Messages: 13965 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
geobraik wrote on Wed, 18 May 2011 19:38Since I want to import only two schemas from two different database I cannot import full.
Yes you can - it'll involve creating a temporary DB to be used as a staging DB. Then from there you can copy over exactly what you want to the target. It'll be far easier to control.
|
|
|
|
|
Re: Data Migration using Datapump [message #508036 is a reply to message #508012] |
Thu, 19 May 2011 02:27  |
 |
Littlefoot
Messages: 21823 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
geobraik wrote on Thu, 19 May 2011 08:08If a full dump is taken from linux machine how the dumpfile and logfile can be transferred to Windows machine?
If you are worried about different operating systems, well - no need to worry. Dump files are platform-independent (so you can move them around, wherever you have a valid Oracle installation). A log file is a textual file anyway so any text editor can read it.
|
|
|