1

The docs say that there are 50,000 free Read, Write, and Small Operations to the datastore.

I guess read and write are obvious, but what falls under the "small ops" category? If I ran a query would it be a small or read operation?

kennysong
  • 2,044
  • 6
  • 24
  • 37

1 Answers1

1

Here's the documentation on this. As I understand it, queries by key are considered "small operations," so a query for entities, a query for keys, and creating a new key all deplete the small operations quota.

A query is both a small and read operation: it costs 1 read + 1 small per entity retrieved.

ecmendenhall
  • 551
  • 7
  • 14
  • Ah, interesting. So there's no cost advantage to using a keys-only query? – kennysong Sep 02 '12 at 00:11
  • 2
    That doesn't seem right, does it? It seems like keys-only should be cheaper. Here's another [SO question](http://stackoverflow.com/questions/11923584/how-much-quota-does-an-appengine-datastore-query-cost) about this. I'll run two queries and look at the logs like it suggests. – ecmendenhall Sep 03 '12 at 03:03