HBase学习笔记
1.HBase介绍
Apache HBase™ is the Hadoop database, a distributed, scalable, big data store.
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.
2.HBase表结构
建表时,不需要限定表中的字段,只需要指定若干个列族
插入数据时,列族中可以存储任意多个列(Key-Value)
要查询某一字段时,需要指定坐标:表名-->行键-->列族(column family):列名(qualifier)-->版本
3.HBase的数据存储
一个表table_1可以分成若干Region
作者:Rest探路者
出处:http://www.cnblogs.com/Java-Starter/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意请保留此段声明,请在文章页面明显位置给出原文连接
Github:https://github.com/cjy513203427