[EMAIL PROTECTED] wrote:
> 
> Gábor Farkas wrote:
>> [EMAIL PROTECTED] wrote:
>>> What do you mean with "2000 thing objects"? Are there 2000 records in
>>> the database for that table, or did you have 2000 records in memory at
>>> runtime?
>>>
>> if you don't use raw_id_admin, then (from my understanding at least),
>> the manipulator loads all of them into the memory.
>> so you have all the objects from the database-table in the memory.
> 
> You know, I really couldn't believe it - so I went home this evening
> and made a test case to work it through. Sure enough, it did *exactly*
> that... I've posted a short sample of the performance degredation graph
> on my blog at
> 
> 
> http://www.rhonabwy.com/wp/2006/08/31/a-subtle-django-performance-hit/
> 

nice :)

i'm not sure if i agree with the idea of having raw_id_admin=True by 
default (hmmm..maybe i do... i don't know), but i definitively think 
that this flag should be mentioned in a more "frequently read" place 
than the model_api docs... maybe in the tutorials even.

gabor

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to