HBase 是什么

1047249-20170731161514130-704455035.png

Apache HBase™ is the Hadoop database, a distributed, scalable, big data store.
HBase 是 Hadoop database 一个分布式(文件在HDFS上)的可拓展(分区域存储的)的大数据仓库。用于存储和检索海量数据

Use Apache HBase™ when you need random随机, realtime实时 read/write access存取 to your Big Data. This project's goal is the hosting of very large tables -- billions数十亿 of rows X millions百万 of columns -- atop clusters of commodity hardware商用机器. Apache HBase is an open-source, distributed, versioned多版本(数据可以有多个版本的值), non-relational database modeled after Google's Bigtable: A Distributed Storage System for Structured Data by Chang et al. Just as Bigtable leverages the distributed data storage provided by the Google File System, Apache HBase provides Bigtable-like capabilities on top of Hadoop and HDFS.

与传统 RDBMS 数据库,HBase 対与海量数据查询检索速度有明显速度上的优势

Table in HBase

  • Schema:TableName & Column Family Name
    意味着 HBase 每一行的列不一定相同,不占据空间(RDBMS为NULL也占据空间)
  • Value 和 Name 都是使用 byte[] 数组存储在 HDFS 中

HBase 是一个面向列的数据库,数据按列存储

一个数据单元 Cell 包括了:rowkey + columnfamily + [column] + timestamp : value
  • columnfamily(列簇):字段的类别 eg: basic 包括了(name,age,birthday...)
  • rowkey(行关键字):类似RDBMS中的主键,作为行的唯一标识符,每个 cell 都,快速查询的关键有 eg:ID

Example

1047249-20170731172407583-2094789264.png
[](http://images2017.cnblogs.com/blog/1047249/201707/1047249-20170731172419911-340741011.png

转载于:https://www.cnblogs.com/cenzhongman/p/7263710.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值