What does Datastore quotas mean exactly?

109 views Asked by At

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?

1

There are 1 answers

5
Andrei Volgin On BEST ANSWER

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.