3、Hbase,
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>..." |
每个行健可以使多行,以时间戳作为版本区分,列族中的列可以往后增加;
本站文章为和通数据库网友分享或者投稿,欢迎任何形式的转载,但请务必注明出处.
同时文章内容如有侵犯了您的权益,请联系QQ:970679559,我们会在尽快处理。