12c R1 Has a New Feature to suppress the generation of redo during Data Pump import.
This feature not only suppresses the redo generation but also optimizes the IMPDP.
I am showing in the below examples importing the table NAWAZ in normal conventional method and using the new feature.
NORMAL CONVENTIONAL USE OF IMPDP :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | C:\Users\DELL>impdp NAWAZ/NAWAZ@ORCL directory=IMPORT tables=NAWAZ Import: Release 12.1.0.1.0 - Production on Fri AUG 03 09:25:28 2018 Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved. Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options Master table "NAWAZ"."SYS_IMPORT_TABLE_01" successfully loaded/unloaded Starting "NAWAZ"."SYS_IMPORT_TABLE_01": nawaz/******** directory=IMPORT tables=NAWAZ Processing object type TABLE_EXPORT/TABLE/TABLE Processing object type TABLE_EXPORT/TABLE/TABLE_DATA . . imported "NAWAZ"."NAWAZ" 722.1 MB 6111054 rows Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS Processing object type TABLE_EXPORT/TABLE/STATISTICS/MARKER Job "NAWAZ"."SYS_IMPORT_TABLE_01" successfully completed at Fri AUG 03 09:30:00 2018 elapsed 0 00:04:32 |
Now let us see the same expample using the 12c New feature for Impdp :- transform=disable_archive_logging:y
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | C:\Users\DELL>impdp NAWAZ/NAWAZ@ORCL directory=IMPORT tables=NAWAZ transform=disable_archive_logging:y Import: Release 12.1.0.1.0 - Production on Fri AUG 03 09:45:00 2018 Copyright (c) 1982, 2013, Oracle and/or its affiliates. All rights reserved. Connected to: Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options Master table "NAWAZ"."SYS_IMPORT_TABLE_01" successfully loaded/unloaded Starting "NAWAZ"."SYS_IMPORT_TABLE_01": nawaz/******** directory=IMPORT tables=NAWAZ transform=disable_archive_logging:y Processing object type TABLE_EXPORT/TABLE/TABLE Processing object type TABLE_EXPORT/TABLE/TABLE_DATA . . imported "NAWAZ"."NAWAZ" 722.1 MB 6111054 rows Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS Processing object type TABLE_EXPORT/TABLE/STATISTICS/MARKER Job "NAWAZ"."SYS_IMPORT_TABLE_01" successfully completed at Fri AUG 03 09:46:01 2018 elapsed 0 00:01:01 |
Here you can see there is an improvement in the elapsed time. This is how your impdp can be optimized in the simplest way
Similary you can try it for importing the indexes and other objects too.
1 | impdp NAWAZ/NAWAZ@ORCL directory=DPDIR tables=big transform=disable_archive_logging:y:index |
The advantage here is the time we save, and no redo generation.
Every Environment has its own requirements. Before using this feature, make sure its gonna be ok ,if suppresing the redo generation is permissable in your environment.