Row (Row Key)
Row Key , 既是 Primary Key,也是 index 。
而他的設計面向及好壞會影響到使用上的效能喔。
對每個 Row 的讀寫都是 atomically 的,不能被中斷。
前面提到過,HBase 資料的儲存是透過 (key , value) pair 的形式。在這邊的 key 是 Row key,而 value 就是 Column Family。
可以這樣看(row key , [ column family , ... ] )
那什麼是 Column Family 呢?
Last updated
Was this helpful?