Use loop with delete_all instead of EachBatch
What does this MR do and why?
Use loop with delete_all instead of EachBatch. EachBatch is not efficient with IN operators
Related to #412602 (closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.