Oracle Rebuild index while GoldenGate updates data
I'm working in a system, where we use Oracle Golden Gate 21 to replicate data from some Oracle Databases to a bigger one (more aged data). To prevent some issues we need to daily rebuild the indexes on main table on destination, which is also partitioned.
When this rebuild is running, we can see some lock containtions, cause the replicat service is trying to update/insert an "unavailable" index.
Is there a way to prevent this, and some how, from the database (using procedure) inform OGG to "wait" until the rebuild finish?