Hive和Hbase的区别

Posted MISAYAONE

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Hive和Hbase的区别相关的知识,希望对你有一定的参考价值。

(265条消息) 关系型数据库+NoSQL(非关系型数据库)+HBase+Hive 区别与联系_cherrybomb1111的博客-CSDN博客

CAP 理论比较重要

(268条消息) 大数据之Hbase(二):HBase的数据模型、cap定理_汪雯琦的博客-CSDN博客

Hbase 是C+P

 

hive和hbase本质区别——hbase本质是OLTP的nosql DB,而hive是OLAP 底层是hdfs,需从已有数据库同步数据到hdfs;hive可以用hbase中的数据,通过hive表映射到hbase表-布布扣-bubuko.com

HBase是个基于HDFS的数据库。Hive是用SQL替代写MR的编程框架

 

 

The short summary of the article is that CAP isn’t “C, A, or P, choose
two,” but rather “When P happens, choose A or C.”

Partitions, like death and taxes, are unavoidable – think of machine
death as just a partition of that machine out into the networking
equivalent of the afterlife. So it’s up to the system designer to
decide if, when that happens, we give up availability or give up
consistency.

In HBase’s case we choose consistency, so we have to give up some availability. 这个理解CAP,太到位了

本文的简短总结是,CAP是不是“C,A,或P,选择
二,“而是”在P情况,选择A或C.“

当有P的时候,分区产生问题,要么选择不服务(保持一致性),要么忍受不一致,服务可用.
分区存在情况下,要么选择A,要么选择C
 

 

以上是关于Hive和Hbase的区别的主要内容,如果未能解决你的问题,请参考以下文章

hive 和hbase 有啥区别

大数据 HIVE和HBASE之间的区别和联系

Hive和Hbase的区别

面试:Hbase和Hive的区别

Hive与HBase的区别与联系

Hive与HBase区别