Oracle 18c introduces a new option to the parameter DATA_OPTIONS: CONTINUE_LOAD_ON_FORMAT_ERROR.
This option will tell data pump import to skip forward to the start of the next granule if a stream format error is encountered while loading data.
In previous versions, if a format error was found, impdp would abort and already loaded rows would be rolled back.
If you find yourself in a situation where all recovery options have failed you, then you might save at least some of the source data using this parameter.
Used in a simple paramter file called impdp.par:
USERID=system FULL=y DUMPFILE=mydumpfile.dmp DIRECTORY=DP TABLE_EXISTS_ACTION=replace DATA_OPTIONS=CONTINUE_LOAD_ON_FORMAT_ERRORExecute:
impdp parfile=impdp.par
The feature is documented in the 18c new features documentation.
See also the utilities documentation for 18c
No comments:
Post a Comment