I want to import one of my schema "vvs1" to r&d database with content=metdata_only. expdp works perfect but when i am going to import on r&d server it takes tables original size.
for example:-
I have 1 table vvs.xyz with size of 10 GB. i am taking structure backup only. now import on r&d server it creates a table structure with 10 GB size.
i want only table with default size while created.
expdp syntax:
expdp vvs/1 full=Y CONTENT=METADATA_ONLY directory=DATAPUMP_DIR dumpfile=full.dmp logfile=full.log KEEP_MASTER=Y
impdp syntax:
impdp vvs/1 CONTENT=METADATA_ONLY directory=DATAPUMP_DIR dumpfile=full.dmp logfile=full_impdp.log schemas=vvs
main database :-Oracle Database 12c Standard Edition Release 12.2.0.1.0 – 64bit Production
r&d database:-
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 – 64bit Production
Best Answer
Typically caused by the segment attributes of the tables.
You can use
TRANSFORM=SEGMENT_ATTRIBUTES:N
, so the tables will be created with default options.You can use
TRANSFORM=SEGMENT_CREATION:N
as well, so your segments will not be created at all, unless deferred segment creation is disabled in your database.TRANSFORM
DEFERRED_SEGMENT_CREATION