SET INSTANTIATION CSN
Use SET INSTANTIATION CSN
on your target database to
set the instantiation CSN manually. This command requires DBLOGIN
.
It enables a Replicat with the DBOPTIONS
ENABLE_INSTANTIATION_FILTERING
option to filter out records below the
specified CSN for any object without Oracle data pump import instantiation
information. It is an alternative to specifying
@FILTER(@GETENV('TRANSACTION','CSN')
.
To enable instantiation SCN filtering, you must do the following:
-
Your Replicat parameter file must contain
DBOPTIONS ENABLE_INSTANTIATION_FILTERING
. -
The instantiation SCNs must be set at the target database for each table.
You can do this using one of the following two methods:
Automatically set the source SCN by the Oracle data pump upon import if the tables were prepared at the source database using
ADD TRANDATA PREPARECSN
orADD SCHEMATRANDATA PREPARECSN
prior to the Oracle data pump export.or
Manually set the instantiation source SCN at the target database using this command.
Syntax
SET INSTANTIATION CSN csn FOR [schema.]table FROM source-database-name
Example
SET INSTANTIATION CSN 12345678 FOR hr.employees FROM orcl.com