Need advice to Migrate 11g to 12c using datapump [message #675613] |
Wed, 10 April 2019 04:20 |
prabhaher
Messages: 11 Registered: December 2009 Location: Muscat
|
Junior Member |
|
|
Dear all,
My current database version is 11.2.0.3. I want to migrate to 12C release 2 using datapump. I have already created the dump file using Expdp.
I created oracle database in 12c. when I imported in my CDB using Impdp I am got the block error ora-29339.
So for testing purpose I have created the tablespace in sql editor and tried to import only one schema in that tablespace. when I imported using Impdp I got error ORA-39083:Object type USER:"TESTUSER" failed to create with error:
When i googled i found, it can be solved using the query alter system set '_oracle_script'='true'
My question is how this script can be used in Impdp to create the users and import the data?
Please guide me.
Thanks in Advance
[Updated on: Wed, 10 April 2019 04:22] Report message to a moderator
|
|
|
|
|
|
Re: Need advice to Migrate 11g to 12c using datapump [message #675619 is a reply to message #675618] |
Wed, 10 April 2019 05:41 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Why don't you show the error that follows ORA-39083? What's the big secret about it? I've guessed what the problem may be, and if I am correct I've told you the answer: you have to import into a pluggable container, not the root container. If you don;t understand that, talk to your DBA.
|
|
|
|
|
|
Re: Need advice to Migrate 11g to 12c using datapump [message #675623 is a reply to message #675620] |
Wed, 10 April 2019 05:51 |
|
Michel Cadot
Messages: 68716 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
The actual error is:
Quote:ORA-39083: Object type USER:"APPSYS" failed to create with error:
ORA-65096: invalid common user or role name
This is what John told you: you have to import in a PDB not in the root container.
You do NOT use the root container for anything that is not Oracle or database and instance management.
All your application data and codes should be in a PDB.
[Updated on: Wed, 10 April 2019 05:52] Report message to a moderator
|
|
|
|
|