示例 如何将 table 从 RDBMS 表示到 HBase
Example How to represent table from RDBMS to HBase
我在 YouTube 上阅读了一些关于 HBase 的文章和视频。
我了解到HBase是hadoop数据库。与 RDBM 相比,它具有不同的体系结构(如列组等)。
但我仍然不清楚 RDBM table 将如何在 HBase 中表示?
如果有可用的 suitable 教程,请告诉我。
例如如果我有员工 table,其列为 id、first_name、last_name、departement_id 和薪水。
部门 table 以 departement_id、dept_name 作为列。
如果我想在 HBase 中表示它,它将如何定义?有人可以详细说明吗?
请参阅 link. The internal architecture is different from the RDBMS. You have rows, column families, column qualifiers. Internally all the details are stored as key:value pairs. More videos with good information link. The question asked seems like you might be thinking to join those two tables. This post 可能会提供有关该方面的信息。这里还有一个高与宽 table 设计方面
HBase:权威指南书的第 9 章讨论了高窄与扁平 tables。
(http://ofps.oreilly.com/titles/9781449396107/advanced.html)
这可能会帮助您做出决定。简而言之 shell,您的设计将基于您希望检索数据的参数。快乐编码
"table in HBase can be visualized as Map of Map" 等基本概念以及时间戳的使用方式已由
http://jimbojw.com/wiki/index.php?title=Understanding_Hbase_and_BigTable
然后我发现这个 PDF 中的解释非常有用
http://0b4af6cdc2f0c5998459-c0245c5c937c5dedcca3f1764ecc9b2f.r43.cf2.rackcdn.com/9353-login1210_khurana.pdf
您可以使用 sqoop 将表从 hbase 导入和导出到 RDBMS,反之亦然
我在 YouTube 上阅读了一些关于 HBase 的文章和视频。 我了解到HBase是hadoop数据库。与 RDBM 相比,它具有不同的体系结构(如列组等)。 但我仍然不清楚 RDBM table 将如何在 HBase 中表示?
如果有可用的 suitable 教程,请告诉我。
例如如果我有员工 table,其列为 id、first_name、last_name、departement_id 和薪水。 部门 table 以 departement_id、dept_name 作为列。
如果我想在 HBase 中表示它,它将如何定义?有人可以详细说明吗?
请参阅 link. The internal architecture is different from the RDBMS. You have rows, column families, column qualifiers. Internally all the details are stored as key:value pairs. More videos with good information link. The question asked seems like you might be thinking to join those two tables. This post 可能会提供有关该方面的信息。这里还有一个高与宽 table 设计方面
HBase:权威指南书的第 9 章讨论了高窄与扁平 tables。 (http://ofps.oreilly.com/titles/9781449396107/advanced.html)
这可能会帮助您做出决定。简而言之 shell,您的设计将基于您希望检索数据的参数。快乐编码
"table in HBase can be visualized as Map of Map" 等基本概念以及时间戳的使用方式已由 http://jimbojw.com/wiki/index.php?title=Understanding_Hbase_and_BigTable
然后我发现这个 PDF 中的解释非常有用 http://0b4af6cdc2f0c5998459-c0245c5c937c5dedcca3f1764ecc9b2f.r43.cf2.rackcdn.com/9353-login1210_khurana.pdf
您可以使用 sqoop 将表从 hbase 导入和导出到 RDBMS,反之亦然