Tried to import a partitioned table from Oracle enterprise edition to Standard edition 2 database.

Tried to import a partitioned table from Oracle enterprise edition to Standard edition 2 database.

1st Method :

impdp \”/ as sysdba\” directory=DUMP dumpfile=2tab_tst_19_12_25.dmp logfile=2tab_tst_19_12_25_2.log TABLES=GLOBUS_APP.T502_ITEM_ORDER REMAP_TABLE=GLOBUS_APP.T502_ITEM_ORDER:T502_ITEM_ORDER_TEST2 REMAP_TABLESPACE=GMI_APP_DATA:GLOBUS_PROD_PERM

Imported a entire table, but faced the below error. Since, we cannot import a partitioned table to a SE2 database.

2nd Method :

impdp \”/ as sysdba\” directory=DUMP dumpfile=2tab_tst_19_12_25.dmp logfile=2tab_tst_19_12_25.log TABLES=GLOBUS_APP.T502_ITEM_ORDER REMAP_TABLE=GLOBUS_APP.T502_ITEM_ORDER:T502_ITEM_ORDER_TEST REMAP_TABLESPACE=GMI_APP_DATA:GLOBUS_PROD_PERM CONTENT=DATA_ONLY

Created the table with the metadata first. Then imported with the data_only option. This time it works.

Recent Posts