首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Google Cloud Bigtable vs Google Cloud Datastore

Google Cloud Bigtable vs Google Cloud Datastore
EN

Stack Overflow用户
提问于 2015-05-07 02:57:00
回答 6查看 51.6K关注 0票数 143

Google Cloud Bigtable和Google Cloud datastore / App Engine数据存储有什么不同,主要的实际优势/劣势是什么?AFAIK云数据存储构建在Bigtable之上。

EN

回答 6

Stack Overflow用户

发布于 2015-05-07 04:30:57

Bigtable和Datastore是非常不同的。是的,数据存储是建立在Bigtable之上的,但这并不意味着它就像它一样。这有点像是说汽车是建立在轮子上的,所以汽车和轮子没有太大的区别。

Bigtable和Datastore在如何更改数据方面提供了非常不同的数据模型和非常不同的语义。

主要区别在于,数据存储在称为实体组的数据子集上提供类似SQL数据库的ACID事务(尽管查询语言GQL比SQL有更多限制)。Bigtable是严格意义上的NoSQL,它的保证要弱得多。

票数 19
EN

Stack Overflow用户

发布于 2019-03-05 04:08:57

我将尝试总结上面的所有答案以及课程A Google Cloud Platform Big Data and Machine Learning Fundamentals中给出的内容

代码语言:javascript
运行
复制
+---------------------+------------------------------------------------------------------+------------------------------------------+--+
|      Category       |                             BigTable                             |                Datastore                 |  |
+---------------------+------------------------------------------------------------------+------------------------------------------+--+
| Technology          | Based on HBase(uses HBase API)                                   | Uses BigTable itself                     |  |
| ----------------    |                                                                  |                                          |  |
| Access Mataphor     | Key/Value (column-families) like Hbase                           | Persistent hashmap                       |  |
| ----------------    |                                                                  |                                          |  |
| Read                | Scan Rows                                                        | Filter Objects on property               |  |
| ----------------    |                                                                  |                                          |  |
| Write               | Put Row                                                          | Put Object                               |  |
| ----------------    |                                                                  |                                          |  |
| Update Granularity  | can't update row ( you should write a new row, can't update one) | can update attribute                     |  |
| ----------------    |                                                                  |                                          |  |
| Capacity            | Petabytes                                                        | Terbytes                                 |  |
| ----------------    |                                                                  |                                          |  |
| Index               | Index key only (you should properly design the key)              | You can index any property of the object |  |
| Usage and use cases | High throughput, scalable flatten data                           | Structured data for Google App Engine    |  |
+---------------------+------------------------------------------------------------------+------------------------------------------+--+

也检查一下这张图片:

票数 15
EN

Stack Overflow用户

发布于 2017-05-13 05:13:10

如果你读过论文,你会发现BigTable是this,数据存储区是MegaStore。数据存储区是BigTable加上复制、事务和索引。(而且要昂贵得多)。

票数 8
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/30085326

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档