Database Administration (MOSC)

MOSC Banner

dev schema refresh

edited May 28, 2015 10:00AM in Database Administration (MOSC) 3 commentsAnswered

I want to refresh a dev schema from production.  I use expdp schema=GUY, but expdp does not collect the grants that other schemas might apply to the user.   Then if you use impdp on this file it's a train wreck because the user doesn't have what it needs.   What is the best way to collect all the the instance wide concerns when I recreate a user schema in dev without rebuilding the whole instance?  I use dbms_metadata.get_granted_ddl for these, but the output of that is extremely messy so it becomes painful to apply without hand holding and I need a

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center