Google Cloud Datastore
Google Cloud Datastore was a NoSQL database service provided by Google Cloud Platform.[src] It is now superseded by Firestore which offers a "Datastore compatibility" mode to ensure legacy applications built on Datastore continue operating seamlessly.[src] Google Cloud Datastore API organizes data in entities and properties, where entities are grouped into kinds.[src] This concept is similar to tables in relational databases, however since this is NoSQL database, it is without the schema constraints.[src] Each entity in Datastore is uniquely identified by a key.[src] This key can have a custom user-defined identifier or it can be auto generated key by the system.[src]
Google Cloud Datastore was a NoSQL database service provided by Google Cloud Platform.[src] It is now superseded by Firestore which offers a "Datastore compatibility" mode to ensure legacy applications built on Datastore continue operating seamlessly.[src] Google Cloud Datastore API organizes data in entities and properties, where entities are grouped into kinds.[src] This concept is similar to tables in relational databases, however since this is NoSQL database, it is without the schema constraints.[src] Each entity in Datastore is uniquely identified by a key.[src] This key can have a custom user-defined identifier or it can be auto generated key by the system.[src] ===Data organization=== Data is organized into entities in Google Cloud Datastore.[src] These are like individual records.[src] These entities are grouped into kinds.[src] This is just like tables in a traditional database.[src] However, unlike relational databases, entities in the same kind do not have to follow a fixed structure (like a pre-defined schema).[src] They can have different sets of properties.[src] ===Entities and properties=== Each entity represents a structured set of properties.[src] Properties are key-value pairs.[src] Examples of values can be strings, numbers, Booleans, timestamps, arrays, and geographic points.[src] The flexible nature of properties allows developers to model complex data structures without a rigid schema.[src] ===Entity keys=== Every entity in Datastore is uniquely identified by a key.[src] A key includes: A project ID (the identifier of the Google Cloud project), An optional namespace (used for multi-tenancy), A kind (defining the entity type), And a name or numeric ID that distinguishes the entity within its kind.[src] Entities can optionally be grouped into entity groups to allow for transactional updates involving multiple entities.[src] ===Data types=== Datastore API supports a range of property data types as shown below: String Integer Float Boolean Timestamp Array (List) Embedded Entity GeoPoint (geographical coordinates) Binary data (Blob) This variety allows modeling of structured and semi-structured data into various datatypes.[src] from google.cloud import datastore client = datastore.Client() step 1 customerkey = client.key("Customer", "C123456") customer = client.get(customerkey) step 2 query = client.query(kind="Order") query.add_filter("customer_id", "=", "C123456") orders = list(query.fetch()) ===Query limitations=== Datastore does not support joins, subqueries, or aggregation operations like those found in relational databases, such as MS SQL and MySQL.[src] Because of this, application design often requires denormalization.[src] It is a process of storing related data together within a single entity or using entity groups to maintain hierarchical relationships.[src] Query filters are required to match existing indexes, and certain combinations of inequality and sort operations may require custom indexes.[src] Datastore's successor, Firestore supports an advanced query pipeline API which supports aggregations, joins and subqueries .[src] ===Language and API support=== Google Cloud Datastore APIs consist of a RESTful interface and a gRPC API.[src] This is quite useful for developers who need to design distributed applications.[src] These APIs offer direct access to Datastore's features such as transactions, queries, and entity management.[src] The client libraries are built on top of these APIs and hide complex details.[src] They make it easier to use different languages such as Python, Java, Go, Node.js, and C# by handling things like connection handling, retries, and serialization.[src] Datastore's API is also optimized for giving high-throughput and low-latency access.[src] This API also supports batch operations, ancestor queries, and strongly consistent reads within entity groups.[src] With the help of such features, developers can build scalable applications without the need of handling complex database infrastructure on their own.[src]
39 sentences · 39 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Google Cloud Datastore." encyclopegia.org, 2026, https://encyclopegia.org/wiki/google-cloud-datastore. Accessed 26 November 2026.
Chicago
"Google Cloud Datastore." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/google-cloud-datastore.
APA
encyclopegia.org. (2026). Google Cloud Datastore. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/google-cloud-datastore
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON