Working with Datastore
In this section, we will understand the ideal set of circumstances that should warrant the use of Cloud Datastore, when not to use Datastore, and the ideal design choices to make when using Datastore.
When to use Datastore
Here is a list of scenarios where you probably shouldn't choose Datastore as your storage option:
- Don't use Datastore if you need very strong transaction support. If you are doing hardcore OLTP, you should use something like Cloud Spanner.
- If you want basic ACID support, Datastore is probably enough for you.
- Datastore works best when data is hierarchical and highly structured. If you have data which is non-hierarchical or unstructured, Bigtable is probably a better NoSQL technology.
- Do not use Datastore for analytics, OLAP, or Business Intelligence applications. BigQuery is a lot better because it has complex queries that are optimized for numerical calculations rather than documents.
- Datastore requires key values and a host of indices. If you are storing...