Is delete by query safe for large collections, where you want to delete a lot of rows?
Or is it better to extract the IDs, and then submit smaller batch deletion requests?
k
Kishore Nallan
02/06/2025, 5:57 AM
Delete by query already works internally via smaller batches. However doing the extraction + smaller batch deletion is a safer approach for large collections.
n
Neil Kumar
02/06/2025, 5:59 AM
Thank you. Safer as in less likely to timeout/error out, or data integrity?