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, 2019 in GCP by anonymous
• 6,260 points
910 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, 2019 by Sirajul
• 59,230 points
Can I access the new features of cloud filestore in the datastore mode?

Related Questions In GCP

0 votes
1 answer

Is it possible to create an instance with a boot disk that is smaller than 10GB?

You would probably encounter the following error: Disk ...READ MORE

answered Nov 4, 2019 in GCP by Sirajul
• 59,230 points
1,041 views
0 votes
1 answer
0 votes
1 answer

Delete a cloud storage object that is in the locked, retention-enabled bucket.

No, you can't delete a cloud storage object ...READ MORE

answered Nov 18, 2019 in GCP by Sirajul
• 59,230 points

edited Sep 21, 2021 by Sarfaraz 3,299 views
+2 votes
1 answer

How to create a firewall rule in GCP Cloud?

Hi@akhtar, If you are using the default VPC ...READ MORE

answered Aug 23, 2020 in GCP by MD
• 95,460 points
1,618 views
0 votes
1 answer
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, 2019 in GCP by Sirajul
• 59,230 points
3,985 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 24, 2019 in GCP by Sirajul
• 59,230 points
2,671 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP