Create a database that is backward compatible with Cloud Datastore in GCP.

0 votes
I have a requirement to create a database on GCP that is backward compatible with the existing Cloud Datastore. Is this possible? Can somebody elaborate?
Nov 4 in GCP by anonymous
• 4,320 points
15 views

1 answer to this question.

0 votes

You could create a new Cloud Firestore database,  where you can configure the database instance to run in Datastore mode which makes the database backwards-compatible with Cloud Datastore.

Cloud Firestore in Datastore mode uses Cloud Datastore system behavior but accesses Cloud Firestore's storage layer, removing the following Cloud Datastore limitations:

  • Eventual consistency, all Cloud Datastore queries become strongly consistent.

  • Transactions are no longer limited to 25 entity groups.

  • Writes to an entity group are no longer limited to 1 per second.

Datastore mode disables Cloud Firestore features that are not compatible with Cloud Datastore:

  • The project will accept Cloud Datastore API requests and deny Cloud Firestore API requests.

  • The project will use Cloud Datastore indexes instead of Cloud Firestore indexes.

  • You can use Cloud Datastore client libraries with this project but not Cloud Firestore client libraries.

  • Cloud Firestore real-time capabilities will not be available.

  • In the GCP Console, the database will use the Cloud Datastore viewer.

answered Nov 4 by Sirajul
• 38,820 points
Can I access the new features of cloud filestore in the datastore mode?

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How do I create a Google Cloud Platform (GCP) account?

In order to access the services provided ...READ MORE

answered Sep 20 in GCP by Sirajul
• 38,820 points
52 views
0 votes
1 answer
0 votes
1 answer

GCP Error: 403: Access Denied

Check that your credentials are correct. For ...READ MORE

answered Oct 9 in GCP by Sirajul
• 38,820 points
25 views
0 votes
1 answer

How to create a cloud storage bucket in GCP?

Buckets are the basic containers that hold your ...READ MORE

answered Oct 23 in GCP by Sirajul
• 38,820 points
20 views