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

Was this helpful?

HBase 運作機制的聰明運用

HBase 與 RDB (Relational Database)

  • 常見的情境是利用 RDB 當作 HBase 的 metadata 儲放處。

  • 也有當作secondary index的,當資料間的關聯非常複雜,可以先使用 RDB 查詢存在 HBase 的資料主鍵 (PK),再使用 PK 從 HBase 取出 raw data。

Row Key 設計

  • 當客戶端需要頻繁的寫一張表格,可以配置隨機的 RowKey 。

  • 當客戶端需要頻繁的讀一張表格,可以配置有序的 RowKey 。

  • 對於時間連續的數據,有序的 RowKey 會很適合用來查詢一段時間的數據 (Scan)。

region pre-split

PreviousHBase 的操作方法

Last updated 5 years ago

Was this helpful?