Delete all takes a lot of time
|Reported by:||jonathan.livni@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
SomeObject.objects.all().delete() takes a very long time.
I'm working with a remote MySQL server, and my internet connection isn't great, but I thought this operation shouldn't take that long. There are only ~500 rows in the table. Does django download all the objects and only then send the delete?!