Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Cloud Bigtable vs Google Cloud Datastore

What is the difference between Google Cloud Bigtable and Google Cloud Datastore / App Engine datastore, and what are the main practical advantages/disadvantages? AFAIK Cloud Datastore is build on top of Bigtable.

like image 634
Andrei F Avatar asked May 06 '15 18:05

Andrei F


People also ask

How are cloud data storage and cloud Bigtable alike?

They both offer SQL-like queries. They are both NoSQL databases. They both have a free daily quota. They are both highly scalable.

Is Google Datastore deprecated?

Worth noting that Google has essentially deprecated Cloud Datastore in favor of Firebase Cloud Firestore.

What is Cloud Bigtable not good for?

Other storage and database options Bigtable is not a relational database. It does not support SQL queries, joins, or multi-row transactions. If you need full SQL support for an online transaction processing (OLTP) system, consider Cloud Spanner or Cloud SQL.

Is Google Bigtable a database?

Cloud Bigtable is a fast, fully managed, massively scalable NoSQL database service.


1 Answers

Based on experience with Datastore and reading the Bigtable docs, the main differences are:

  • Bigtable was originally designed for HBase compatibility, but now has client libraries in multiple languages. Datastore was originally more geared towards Python/Java/Go web app developers (originally App Engine)
  • Bigtable is 'a bit more IaaS' than Datastore in that it's not 'just there' but requires a cluster to be configured.
  • Bigtable supports only one index - the 'row key' (the entity key in Datastore)
    • This means queries are on the Key, unlike Datastore's indexed properties
  • Bigtable supports atomicity only on a single row - there are no transactions
  • Mutations and deletions appear not to be atomic in Bigtable, whereas Datastore provides eventual and strong consistency, depending on the read/query method
  • The billing model is very different:
    • Datastore charges for read/write operations, storage and bandwidth
    • Bigtable charges for 'nodes', storage and bandwidth
like image 186
tx802 Avatar answered Sep 23 '22 03:09

tx802