0

I'm a bit confused about what the Datastore quotas mean. https://cloud.google.com/appengine/docs/quotas#Datastore

Let's take for example the Read quota. If I have 1,000,000 entities of a model, and say I have a task that processes each of those entities by batches of 1000 (either via fetch or fetch_page), how much of the quota will the task end up using? 1000 or 1,000,000?

Dan McGrath
  • 41,220
  • 11
  • 99
  • 130
john2x
  • 22,546
  • 16
  • 57
  • 95

1 Answers1

1

From the documentation:

Performing operations in batches does not affect the cost, regardless of the entity's size. A batch operation for two keys costs two reads, even if one of the keys did not exist.

Andrei Volgin
  • 40,755
  • 6
  • 49
  • 58