美文网首页
nosql 概览

nosql 概览

作者: 听海吹牛逼的声音 | 来源:发表于2020-05-23 05:16 被阅读0次

HBase 和 Cassandra的一些比较

db使用排行

  • 如何选择
    知乎回答
    阿里云
    • HBase强一致,依赖hadoop生态,hdfs的NN的单点故障,支持scan的性能更好,随机读就比较坑。阿里云文章提到了HBASE的A比较差,因为hdfs的NN单点。但是实际上hdfs的HA里有standby的办法,应该不是很大的问题。

    • Cassandra最终一致(可调一致性),更注重A,给予quorum的,没有hdfs的单点故障,随机读写好,但是scan的性能较弱。一致性问题是比较大的坑(个人深受其害)。

  • 两个数据库都是列簇数据库,而不是列数据库。

<DDIA> Cassandra and HBase have a concept of column families, which they inherited from Bigtable. However, it is very misleading to call them column-oriented: within each column family, they store all columns from a row together, along with a row key, and they do not use column compression. Thus, the Bigtable model is still mostly row-oriented.

C*

Hbase

相关文章

网友评论

      本文标题:nosql 概览

      本文链接:https://www.haomeiwen.com/subject/dbuqahtx.html