HBase data model

These are the key components of an HBase data model:

  • Table: In HBase, data is stored in a logical object, called table, that has multiple rows.
  • RowA row in HBase consists of a row key and one or more columns. The row key sorts rows. The goal is to store data in such a way that related rows are near each other. The row key can be a combination of one of more columns. The row key is like the primary key of the table, which must be unique. HBase uses row keys to find data in a column. For example, customer_id can be a row key for the customer table.
  • Column: A column in HBase consists of a column family and a column qualifier.
  • Column qualifier: It is the column name of a table.
  • Cell: This is a combination of row, column family, ...

Get Modern Big Data Processing with Hadoop now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.