【问题标题】:Hbase One Store = Column Family?Hbase 一店=列族?
【发布时间】:2013-10-14 08:28:47
【问题描述】:

大家,

我想知道如果 Hbase 表中的一个列族可以有多个存储,是否有人可以给出一个快速而肮脏的答案。

我读过很多文章,听起来 Region 包含多个商店,每个商店对应一个列族。

如果存储超过 10GB 默认大小并被拆分为多个存储会发生什么情况?在这种情况下,一个列族可以有多个商店?

我很困惑……

【问题讨论】:

    标签: hbase


    【解决方案1】:

    HBase Book (http://hbase.apache.org/book/regions.arch.html) 比我解释得更好:

    Table       (HBase table)
    Region       (Regions for the table)
         Store          (Store per ColumnFamily for each Region for the table)
              MemStore           (MemStore for each Store for each Region for the table)
              StoreFile          (StoreFiles for each Store for each Region for the table)
                    Block             (Blocks within a StoreFile within a Store for each Region for the table)
    

    因此,如果一个列族被拆分为多个区域,则它可以拥有多个商店。当单个存储文件(存储内)超过阈值时,会发生区域拆分——因此存储不会拆分,但区域会拆分。

    希望能澄清事情!

    【讨论】:

    • 看来拆分的Region对应拆分的Store,因为Store包含在Region中。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-02-01
    • 1970-01-01
    • 1970-01-01
    • 2018-02-15
    • 1970-01-01
    • 2017-06-12
    • 1970-01-01
    相关资源
    最近更新 更多