GoldenGate 19c Error: Replicat Abended - ORA-00942 or Mapping Error


Common Replicat error in GoldenGate 19c: ORA-00942: table or view does not exist or mapping failures.

Cause

Target table does not exist, wrong schema mapping, or missing privileges.

Fix

-- Login to GGSCI on Target
./ggsci

-- Check replicat status
INFO REPLICAT rep1, DETAIL

-- View error report
VIEW REPORT rep1

Solution Steps:

1. Create missing table on target (or use DDL replication)
2. Fix mapping in replicat parameter file:

EDIT PARAMS rep1

-- Add correct mapping
MAP schema_name.*, TARGET target_schema.*;

Then restart Replicat:

STOP REPLICAT rep1
START REPLICAT rep1

Quick Tip: Use ASSUMETARGETDEFS if source and target structures are identical.

GoldenGate 19c | Replicat Error | Fix

Post a Comment

Previous Post Next Post