hive hbase区别

1、hive是sql语言,通过数据库的方式来操作hdfs文件系统,为了简化编程,底层计算方式为mapreduce。

2、hive是面向行存储的数据库。

3、Hive本身不存储和计算数据,它完全依赖于HDFS和MapReduce,Hive中的表纯逻辑。

4、HBase为查询而生的,它通过组织起节点內所有机器的內存,提供一個超大的內存Hash表

5、hbase不是关系型数据库,而是一个在hdfs上开发的面向列的分布式数据库,不支持sql。

6、hbase是物理表,不是逻辑表,提供一个超大的内存hash表,搜索引擎通过它来存储索引,方便查询操作。

7、hbase是列存储。

Hive和Hbase有各自不同的特征:hive是高延迟、结构化和面向分析的,hbase是低延迟、非结构化和面向编程的。Hive数据仓库在hadoop上是高延迟的。

HBase位于结构化存储层,Hadoop HDFS为HBase提供高可靠性底层存储支持,Hadoop MapReduced为HBase提供高性能计算能力,ZooKeeper为HBase提供稳定的服务和故障切换机制。

[En]

HBase is located in the structured storage layer, Hadoop HDFS provides high-reliability underlying storage support for HBase, Hadoop MapReduce provides high-performance computing power for HBase, and Zookeeper provides stable service and failover mechanism for HBase.

此外,小猪和蜂巢还提供了对HBase的高级语言支持,这使得在HBase上处理数据统计变得非常容易。Sqoop为HBase提供了便捷的RDBMS数据导入功能,可以非常方便地将传统数据库数据迁移到HBase。

[En]

In addition, Pig and Hive also provide high-level language support for HBase, which makes it very easy to process data statistics on HBase. Sqoop provides convenient RDBMS data import function for HBase, which makes it very convenient to migrate traditional database data to HBase.

我觉得,在我问区别之前,我应该表明我有一些共同之处。当我想到这一点时,我又一次感到困惑。HIVE和HBase有什么相似之处?他们似乎在任何地方都不一样。既然它们在任何地方都不一样,怎么会有“有什么不同”的问题呢?它们都是不同的。

[En]

I feel that before I ask the difference, I should show that I have something in common. When I think about it, I am confused again. Where are hive and hbase alike? they don’t seem to be alike anywhere. Since they are not alike anywhere, how can there be the question of “what is the difference?” all of them are different.

那么,蜂巢是什么?

[En]

So, what is hive?

更多一点白话和一点不那么严格的蜂巢可以被视为map-Reduced的一个包。HIVE的含义是将编写良好的HIVE的SQL转换为复杂且难以编写的map-create程序。

[En]

A little more vernacular and a little less strict, hive can be regarded as a package of map-reduce. The meaning of hive is to convert the sql of a well-written hive into a complex and difficult-to-write map-reduce program.

那么,什么是HBase呢?

[En]

So, what is hbase?

同样,如果白话不严格,HBase可以被视为HDFS的套餐。它本质上是一个数据存储,一个NoSQL数据库;HBase部署在HDFS之上,克服了HDFS随机读写的缺点。

[En]

Similarly, if the vernacular is not strict, hbase can be regarded as a package of hdfs. It is essentially a data store, a NoSql database; hbase is deployed on top of hdfs and overcomes the shortcomings of hdfs in random read and write.

因此,如果您想问HIVE和HBase之间的区别,您应该问map-Reduced和HDFS之间的区别。如果你问他们有什么不同,你应该先谈谈他们是什么样子的。

[En]

So if you want to ask the difference between hive and hbase, you should ask the difference between map-reduce and hdfs. If you ask the difference, you should first talk about what they are like.

那么,你认为MAP-Reduced和HDFS是什么样子呢?

[En]

So, what do you think map-reduce and hdfs are like?

转自:http://blog.csdn.net/maixia24/article/details/14163203

Original: https://www.cnblogs.com/ywl925/p/3975275.html
Author: ywl925
Title: hive hbase区别

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/6887/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

最近整理资源【免费获取】:   👉 程序员最新必读书单  | 👏 互联网各方向面试题下载 | ✌️计算机核心资源汇总