Optimization nifi delete
Hello,
I have one big table in one database that I have to sink on destination.
Firs I have flow with incremental insert and it works fine. Than in other flow I have incremental delete by ID column.
I am trying to delete 3179958 records from table. I have one table on source and I have to do increment delete on destination. This is my flow.

I am sending every processor separate:
- generatetablefetch:

- execute sql:

- putdatabaserecord - delete

When I have much less records it all works fine. But now flow can't finished... Is there any other solution.
Thanks in advance

