1

After a ton of research, I decided to do a lot of keys only queries in my code. Part of the reason being the following quote from Google's App Engine Pricing Page (yeah, it's amazing when coding means money).

Calls to the datastore API result in the following billable operations. Small datastore operations include calls to allocate datastore ids or keys-only queries. These operations are free. This table shows how calls map to datastore operations:

So for the past few months, I have taking a free ride. This morning, with very little activity on my website, my Datastore Small Operations has reached its quota and is now red, causing trouble on my website. Does anyone here knows if someone has changed on how Google bills Datastore Small Operations? Has the API changed somehow causing my existing code to be considered poor engineering design? Thanks for any insight on this issue.

Dan McGrath
  • 41,220
  • 11
  • 99
  • 130
Katedral Pillon
  • 14,534
  • 25
  • 99
  • 199

1 Answers1

4

There is no limit on the number of small operations if you have billing enabled. Without it, the limit is only 50,000 operations.

Since these operations are free, it would not hurt to enable billing.

Andrei Volgin
  • 40,755
  • 6
  • 49
  • 58
  • Wow. Aren't these guys bastards. For whatever reason, my account unfile expired but I never updated it since with my new tricky engineering I know I won't need it until I reach millions of page views a day. Thank you very much! I have re-enabled billing and the problem seems to have gone away. It's a funny logic: It's free if they have your credit card on file. – Katedral Pillon Feb 18 '15 at 18:17
  • 1
    I guess it's a security feature. People are less likely to do stupid things if a valid credit card is on file. – Andrei Volgin Feb 18 '15 at 18:49