hbase和hive有什么区别? (Hadoop的) [英] What is the difference between hbase and hive? (Hadoop)

查看:275
本文介绍了hbase和hive有什么区别? (Hadoop的)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据我的理解,Hbase是Hadoop数据库,Hive是数据仓库。



Hive允许创建表和存储数据,也可以映射现有的HBase表格给Hive并对它们进行操作。

为什么我们应该使用hbase,如果配置单元完成所有这些工作?我们可以自己使用蜂巢吗?
我很困惑:(&b)

解决方案

一些例外情况),并用于批处理操作,而使用hbase时,您可以实时查询并基于关键值对。



为什么我们应该使用hbase,如果配置单元完成这些工作,我们可以自己使用配置单元因为Hive不支持更新您的数据集。因此,如果您有大型分析处理应用程序,请使用Hive,并且如果您有实时获取/设置/更新请求处理,使用Hbase。

From my understanding, Hbase is the Hadoop database and Hive is the data warehouse.

Hive allows to create tables and store data in it, you can also map your existing HBase tables to Hive and operate on them.

why we should use hbase if hive do all that? can we use hive by itself? I'm confused :(

解决方案

So in simple terms, with hive you can fire SQL like queries (with some exceptions) on your table/s and is used in batch operation. While with hbase, you can do real time querying and is based on key value pair.

"why we should use hbase if hive do all that? can we use hive by itself" Because Hive doesn't supports updating your data set. So if you have large analytical processing application use Hive and if you have real time get/set/update request processing, use Hbase.

这篇关于hbase和hive有什么区别? (Hadoop的)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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