Tuesday, November 22, 2011

Re: Large Queryset Calculation In Background?

On 11/22/11 17:04, Nikolas Stevenson-Molnar wrote:
> I wouldn't expect it to lock the database (though someone with more
> database expertise should address that). I /would/ expect it to consume
> significant CPU. If you're on UNIX, you could address this issue by
> making your process 'nice'

There's also an "ionice" that should make disk (and possibly
network) I/O operate in a manner kinder to your machine. You'd
launch your cron job with the nice/ionice settings.

-tkc


--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment