This page describes production limits for Google Cloud Datastore.

Limit Amount
Maximum API request size.

This limit applies when Cloud Datastore is used outside of Google App Engine. If Cloud Datastore is used from App Engine, the limit depends on the client library that is used.

10 MiB
Maximum size for a transaction 10 MiB
Maximum size for an entity 1,048,572 bytes
(1 MiB - 4 bytes)
Maximum depth of nested entity values 20
Maximum number of entity groups that can be accessed in a transaction 25
Maximum write rate to an entity group.

Note you can batch writes together for an entity group. This allows you to write multiple entities to an entity group within this limit.

1 per sec
Maximum number of entities that can be passed to a Commit operation in the Cloud Datastore API 500
Maximum number of keys allowed for an AllocateIds operation in the Cloud Datastore API 500
Maximum number of keys allowed for a Lookup operation in the Cloud Datastore API 1,000
Maximum size of an indexed string property's UTF-8 encoding 1,500 bytes
Maximum size for an unindexed property 1,048,487 bytes
(1 MiB - 89 bytes)
Maximum sum of the sizes of an entity's composite index entries 2 MiB
Maximum number of composite indexes for a project 200
Maximum sum of the following for an entity:
  • the number of indexed property values
  • the number of composite index entries
Maximum number of concurrent exports.

When the export request specifies an entity_filter, each combination of filtered kind and namespace counts as a separate export towards this limit. For example:

A request with kinds=['foo', 'bar'] and namespace_ids=['', 'ns1']
results in 4 exports towards this limit: [('', 'foo'), ('', 'bar'), ('ns1', 'foo'), ('ns1', 'bar')]


What's next

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud Datastore Documentation