DATA PUMP ENHANCEMENTS
This
part of the section will focus on the important enhancements introduced
in data pumps. There are quite a few useful additions, such as
converting view into a table while exporting and turning off logging
while import.
Turn off redo log generation
The
new TRANSFORM option introduced in data pumps import provides the
flexibility to turn off the redo generation for the objects during the
course of import. When DISABLE_ARCHIVE_LOGGING values is specified with
theTRANSFORM option, redo generation for the objects in the context will
be turned off during the entire import duration. This feature provides a
great relief when importing large tables, and reduces the excessive
redo generation, which results in quicker imports. This attribute
applies to tables and indexes.
This example demonstrates this feature:
$ ./impdp directory=dpump dumpfile=abcd.dmp logfile=abcd.log TRANSFORM=DISABLE_ARCHIVE_LOGGING:Y
Transport view as table
This
is another improvement in the data pumps. With the new VIEWS_AS_TABLES
option, you can unload the view data into a table. The following example
describes how to unload views data into a table during export:
$ ./expdp directory=dpump dumpfile=abcd.dmp logfile=abcd.log views_as_tables=my_view:my_table
No comments:
Post a Comment