Changes between Initial Version and Version 1 of Ticket #31202


Ignore:
Timestamp:
Jan 23, 2020, 8:21:09 AM (4 years ago)
Author:
Tom Forbes
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31202

    • Property Owner changed from nobody to Tom Forbes
    • Property Status newassigned
  • Ticket #31202 – Description

    initial v1  
    1 A user has reported seeing extremely slow update times when using bulk_update. With the django-bulk-update package, which does not use the expressions API and constructs raw SQL directly, an update with 100,000 objects and and 10 fields takes 24 seconds. With the built in bulk_update it takes 2 minutes and 24 seconds - 6x as slow.
     1A user has reported seeing extremely slow update times when using bulk_update. With the django-bulk-update package, which does not use the expressions API and constructs raw SQL directly (https://github.com/aykut/django-bulk-update/blob/master/django_bulk_update/helper.py#L202), an update with 100,000 objects and and 10 fields takes 24 seconds. With the built in bulk_update it takes 2 minutes and 24 seconds - 6x as slow.
    22
    33The user has provided a reproduction case here: https://github.com/mikicz/bulk-update-tests/blob/master/apps/something/models.py and https://github.com/mikicz/bulk-update-tests/blob/master/apps/something/test_bulk_update.py
Back to Top