Is delete by query safe for large collections, whe...
# community-help
n
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
Delete by query already works internally via smaller batches. However doing the extraction + smaller batch deletion is a safer approach for large collections.
n
Thank you. Safer as in less likely to timeout/error out, or data integrity?
k
You've more control..for e.g can stop