Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dec 1, 2025 9:52:01 AM
Dec 1, 2025 9:52:01 AM
With an RDBMS target endpoint such as Oracle, where Change Processing Mode is set to Batch optimized apply and both Apply Changes and Store Changes are enabled, paired INSERT and DELETE operations may be merged during batching.
This results in no change being applied to the target.
In Batch Optimized Apply mode, Qlik Replicate commits changes in batches. Before applying these batches, Qlik Replicate performs preprocessing to group transactions as efficiently as possible. Events sharing the same primary key (or RRN) may be merged as follows:
DELETE + INSERT → UPDATE
INSERT + DELETE → IGNORE
In more detail:
Batch optimized apply mode, Qlik Replicate merges INSERT/DELETE pairs so that the net result is “no-op” at the target. However:
To avoid merge-related side effects during sensitive processing windows, temporarily switch the task to Transactional apply.
Transactional apply enforces the exact sequence of operations.Once the critical period has passed and the task has stabilized, you can safely switch back to Batch optimized apply to maintain performance.
Below are two scenarios outlining how this behavior appears in practice, as well as workarounds.
Observed Behavior
One row remains in the target even though it was deleted in the source. All changes, however, are correctly recorded in the store changes tables.
Workaround
Before step 6, switch the task to Transactional apply. After changes up to step 4 are applied, switch back to Batch optimized apply.
Observed Behavior
One row remains in the target. All changes are still correctly logged in the store changes tables.
Workaround
Before step 5, switch to Transactional apply. After the changes from step 3 are applied, switch back to Batch optimized apply.