Hbase 學習紀錄
  • Introduction
  • HBASE 資料儲存格式
    • Row (Row Key)
    • Column Family
    • Time stamp
  • HBase Architecture
    • HBase 的操作方法
  • HBase 運作機制的聰明運用
Powered by GitBook
On this page

Was this helpful?

HBASE 資料儲存格式

PreviousIntroductionNextRow (Row Key)

Last updated 5 years ago

Was this helpful?

introduction 中介紹了 HBase 的 特性與用途,這裡介紹一下 HBase 資料儲存的系統與設計。

HBase 的資料已 table 的形式儲存,並且他的 table 與 RDB 的 table 是不一樣的,他是一個多維的結構。

其結構如下

Table -> Row -> Column Family -> Qualifier ( Column ) -> Value

以多維的結構來解釋他 :

  • 一張 Table 可以有多個 Row

  • 一個 Row 可以有多個 Column Family

  • 一個 Column Family 可以有多個 Qualifier

  • 一個 Qualify 可以有多個版本的 Value

HBase 的 資料儲存結構就是這樣一層一層的架構包裝,所以他的內容可以做到一對多的架構。

以查找的角度來講 :

我們要找到我們所要找的 Value ,首先我們找到儲存他的 Table ,透過 Row key 找到 對應的 Column Family,再找到對應的 Qualifier ,就可以讀出對應的 Value。

接下來對這些名詞做個解釋。