ITeye博客

3、Hbase

nickfover · 2014-11-13 15:24 · hadoop · 开源软件 · Markdown

hbase---Hadopp database

 

HBase的数据模式

将众多表按行健和时间戳合并成一个虚表,形成一个“BigTable”

Row Key Time Stamp Column Family anchor "com.cnn.www" t9 anchor:cnnsi.com = "CNN" "com.cnn.www" t8 anchor:my.look.ca = "CNN.com"

 

Row Key Time Stamp ColumnFamily "contents:" "com.cnn.www" t6 contents:html = "<html>..." "com.cnn.www" t5 contents:html = "<html>..." "com.cnn.www" t3 contents:html = "<html>..."

这是两张表,合成一张表后:

Row Key Time Stamp ColumnFamily contents ColumnFamily anchor "com.cnn.www" t9   anchor:cnnsi.com = "CNN" "com.cnn.www" t8   anchor:my.look.ca = "CNN.com" "com.cnn.www" t6 contents:html = "<html>..."   "com.cnn.www" t5 contents:html = "<html>..."   "com.cnn.www" t3 contents:html = "<html>..."  

每个行健可以使多行,以时间戳作为版本区分,列族中的列可以往后增加;

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。