Database Administration (MOSC)

MOSC Banner

Import only structure of a database without size of the objects

edited Dec 6, 2016 4:00AM in Database Administration (MOSC) 5 commentsAnswered

Hello Community!

I want to export the structure only of one database (users, tables, indexes, grants, etc) and import it into another database. I'm iin 12c version.

To do the export I'm executing the following instruction:

expdp user/passwd schema=user1,user2,user3 content=metadata_only exclude=statistics dumpfile=expdp_user_estructura.dmp flashback_scn=${VAL_SCN} directory=DMPEXPDIR logfile=expdp_user_estructura.log

The problem is when I'm trying to import this structure into another database that is much smaller than the original. The import fails because it tryes to create the objects whith the same size than the origin, and I don't have enough space.

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