Datastore Small Operations

2,320 views
Skip to first unread message

Sargis Dallakyan

unread,
Nov 7, 2011, 5:18:36 PM11/7/11
to Google App Engine
Greetings,

Does anyone know what Datastore Small Operations means and where I can
find more info about it. I'm currently getting over the quota on this
after Nov 7 update: 100% - 0.05 of 0.05 Million Ops.

I've searched the web and documentations, but can't find anything
about this in the release notes or in the documentations.

Thanks,
Sargis

Brian Quinlan

unread,
Nov 7, 2011, 5:27:11 PM11/7/11
to google-a...@googlegroups.com
Hi Sargis,

Please see:
http://code.google.com/appengine/docs/quotas.html#Resources

Key allocations and keys-only queries consume small operations.

Let me know if I can do anything else to help.

Cheers,
Brian

> --
> 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-a...@googlegroups.com.
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
>
>

Stacy (Google)

unread,
Nov 7, 2011, 5:29:29 PM11/7/11
to google-a...@googlegroups.com
This is best explained here:
http://code.google.com/appengine/kb/postpreviewpricing.html#operations_charged_for
Small operations are neither reads nor writes, but are key allocations, returning keys from a query, or counts.
Your "Billing History" usage reports can tell you if you are using a substantial number of these operations now.

Stacy

Sargis Dallakyan

unread,
Nov 7, 2011, 5:46:00 PM11/7/11
to Google App Engine
Thank you Brian and Stacy. I can now see from the error log
that .count() method was consuming all my quota. I'll now need to use
len or some other method of counting to avoid going over the quota.

Thanks,
Sargis


On Nov 7, 2:29 pm, "Stacy (Google)" <sta...@google.com> wrote:
> This is best explained here:http://code.google.com/appengine/kb/postpreviewpricing.html#operation...<http://www.google.com/url?sa=D&q=http%3A%2F%2Fcode.google.com%2Fappen...>

Brian Quinlan

unread,
Jan 7, 2012, 8:21:43 PM1/7/12
to google-a...@googlegroups.com
Hi James,

In the future could you address your questions to the group rather than me personally? There may be other people interested in this information.

Some examples of various operation sizes are here:
http://code.google.com/appengine/docs/billing.html#Billable_Resource_Unit_Cost

On Sun, Jan 8, 2012 at 12:16 PM, James Gilliam <jimgi...@gmail.com> wrote:
Is get_by_key_name( aKey ) a small datastore operation ?

No. 

If not, what is?

Allocating a key or returning a key as a query result.

Cheers,
Brian
 

On Nov 7 2011, 2:27 pm, Brian Quinlan <bquin...@google.com> wrote:
> Hi Sargis,
>
> Please see:http://code.google.com/appengine/docs/quotas.html#Resources
>
> Key allocations and keys-only queries consumesmalloperations.
>
> Let me know if I can do anything else to help.
>
> Cheers,
> Brian
>
>
>
>
>
>
>
> On Tue, Nov 8, 2011 at 9:18 AM, Sargis Dallakyan <dallaky...@gmail.com> wrote:
> > Greetings,
>
> > Does anyone know whatDatastoreSmallOperations means and where I can
Reply all
Reply to author
Forward
0 new messages