Duplicating a profile in a different database

Dear all,
I have a schema (incentive) in dev database. Incentive schema has been assigned a profile "sales_profile" . I exported the full schema to test database using datapump  tool with parameter NETWORK_LINK. (initiated the export from Test database being the local)
Now I am trying to import and remap the schema to a new user called Test_Incentive in the test database. I am receiving the error " ORA-02380: Profile Sales_Profile doesn't exist"
Question#1 : Can't I remap the schema if the schema is part of a profile and that profile doesn't exist in the new database?
Question #2: If that is the case than I want to duplicate the schema in my test database - how do I duplicate the profile in the Test database?
Thanks a lot in advance.


VimrulAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tomcatkevCommented:
The simplest solution, may be...

CREATE PROFILE SALES_PROFILE LIMIT;

The effect of this is to create the profile with "all default limits"  once you have this it will avoid the error on the impdp.

If you want to make the profiles match, then on the source system, do

select * from dba_profiles where profile='SALES_PROFILE' and not limit='DEFAULT'

and then make the corresponding ALTER PROFILE SALES_PROFILE LIMIT <parameter>=<value>.

Commonly profiles are used to limit the maximum number of sessions per user or maximum CPU utilization per query.  Part of your testing may be to validate these limits in your test environment.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
VimrulAuthor Commented:
Thank a lot.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.