Hi John,

On Tue, Nov 22, 2011 at 9:31 AM, John Tantalo <john.tant...@gmail.com> wrote:
> I have an index on one field of my model which I use for exact-match lookups
> (i.e., no range queries).
> When a query matches, I expect to get the records which match the value.
> When it doesn't match (when it "missed"), I expect to get no records.
> I believe the "missed" cases count towards my datastore read operations
> quota, even though no datastore read operations were performed.
> My intuition is that the index and the datastore are two separate things,
> and read of the index should be free. In other words, read operations which
> do not return any records should be free and not count towards the datastore
> read quota.
> Am I way off?

A query will always cost you at least one datastore read.

This page shows how various high-level operations translate into the quota used:
http://code.google.com/appengine/docs/billing.html#Billable_Resource_Unit_Cost

Cheers,
Brian
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/FLFbvLe795cJ.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to