On Thursday 09 March 2017 21:25:51 Web Architect wrote: > I am a bit perplexed by this and not sure what the solution is. > Following is the scenario: > > There is a Model A with 10000 records. Just a simple queryset - > A.objects.all() is resulting in CPU hitting almost 100%.
What's the problem? You have a fast db, fast network and requesting 10k records into memory. Why would you want CPU usage to be lower so that it takes longer? The question you need to ask yourself is why you need 10k records. Nobody's gonna read them all. -- Melvyn Sopacua -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7928487.AGXE0cLiAx%40devstation. For more options, visit https://groups.google.com/d/optout.