HBase 中存储结构

在《HBase权威指南》中看到这样一段话,对于理解HBase的物理存储是很有帮助的:
The HResionServer opens the region and creates a corresponding HRegion object. When the HRegion is opened is sets up a Store instance for each HColumnFamily for every table as defined by the user beforehand.Each Store instance can ,in turn ,have one or more StoreFile instances,which are lightweight wrappers around the actual storage file called HFile.A store also has a MemStore,and the HRegionServer a shared HLog instance.

简单的理解就是:
1.HRegion 实际上是一个Region的实例(Region是抽象概念,HRegion是实例化对象名词)
2.HRegion 中包含多个Store实例,每一个Store对应的是一个HColumnFamily.
3.每一个StoreFile包含一个MemStore和多个StoreFile,而StoreFile实际上是HFile的一个轻量级的包装
4.Store hosts a MemStore and 0 or more StoreFiles(HFiles).A Store corresponds to a column family for a table for a given region.
5.StoreFiles: are where your data lives.
6.HFile Format:is based on the SSTable file described in the BigTable paper and on Hadoop’s TFile.

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值