On Jun 8, 2010, at 5:44 PM, djidjadji wrote: > The 40 Labels are retrieved with 2 RPCs. > One "query" and one "next" (batches of about 20 objects). > Then for each label you get an Item object, that is 40 RPC gets by key.
My bad. I meant that for every Label that you're iterating through (which means that the labels have already been fetched) you make one query for the item. I misread, so that should be 40*1, which comes out to about 40 queries. It's a classic case of the (n+1) query problem, IMHO. The 1 query to fetch the list of all Labels, and the n queries to fetch the item for each query in the list. Jan Michael Ibanez [email protected] -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
