Import only structure of a database without size of the objects
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.