I believe I'm experiencing a similar problem. One thing that puzzles
me is that the CPU usage remains very low while this slow (read:
intensive) operation is carried out. On my development machine,
neither the Python process or MySQL exceed 5% utilization. Does anyone
have any idea why that may be? The situation is the same on both the
dev server and through Apache.

Alex - have you made any progress overriding the save method, and if
so, what kind of speedup did you get?

Thanks all,
Matt.

On Feb 1, 2:34 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote:
> In addition to Ivan's suggestions above, consider disabling auto-
> commits and making manual transaction commits say every 100 records or
> so.
>
> http://www.djangoproject.com/documentation/transactions/
>
> This will eliminate the overhead of a commit on every instance save.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to