Oracle Spatial Objects
To replicate tables that contain one or more columns of SDO_GEORASTER
object type from an Oracle source to an Oracle target, follow these instructions to configure Oracle GoldenGate to process them correctly.
A sufficient way to handle the errors on raster tables caused by active triggers on target georaster tables is to use REPERROR
with DISCARD
to discard the cascaded delete that triggers them. The trigger on the target georaster table performs the delete to the raster data table, so the replicated one is not needed.
MAP geo.st_rdt, TARGET geo.st_rdt, REPERROR (-1403, DISCARD) ;
If you need to keep an audit trail of the error handling, use REPERROR
with EXCEPTION
to invoke exceptions handling. For this, you create an exceptions table and map the source raster data table twice:
-
once to the actual target raster data table (with
REPERROR
handling the 1403 errors). -
again to the exceptions table, which captures the 1403 error and other relevant information by means of a
COLMAP
clause.
For more information about using an exceptions table, see Administering Oracle GoldenGate for Windows and UNIX.
For more information about REPERROR
options, see Reference for Oracle GoldenGate.