NoSQL系统保存关系数据 [英] NoSQL system to save relational data

查看:155
本文介绍了NoSQL系统保存关系数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我的数据是关系型(publishers-authors-books,associations-teams-players),我们可以使用HBase或MongoDB之类的NoSQL系统来存储数据吗?

(我知道这可能听起来像一个愚蠢的问题,但我只是在学习:))

解决方案

是的,您可以存储 NoSQL 数据存储中的任何类型的数据。您所描述的信息类型应该足够用于NoSQL。

然而,请注意,在典型的NoSQL解决方案中,您将交易一些/许多被采用的功能在SQL数据库中授予,例如交易强一致性,丰富的查询,即席查询等,主要用于更简单的模型,可以水平缩放非常容易。


If my data is relational (publishers-authors-books, associations-teams-players), can we use NoSQL system like HBase or MongoDB to store the data?

(I know it may sound like a stupid question but I'm just learning :))

解决方案

Yes, you can store any type of data in NoSQL datastores. The kind of information you describe should be very adequate for NoSQL.

However, be aware that in a typical NoSQL solution, you would be trading some/many features that are taken for granted in SQL databases, such as transactions, strong consistency, rich queries, ad-hoc queries, etc, mainly in favour of simpler models that can scale horizontally very easily.

这篇关于NoSQL系统保存关系数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆