© Deepak Vohra 2016

Deepak Vohra, Apache HBase Primer, 10.1007/978-1-4842-2424-3_7

7. Logical Storage

Deepak Vohra

(1)Apt 105, White Rock, British Columbia, Canada

A cell is the logical storage unit for the Apache HBase data model. Cells are stored individually, and empty cells are not stored at all, which makes HBase storage sparse. Values are stored as an array of bytes. A {row, column, version} tuple specifies a cell in a table. Cells store data as uninterpreted bytes. The timestampidentifies a version and must be unique for each cell.

Three coordinates define each cell. Coordinates for a cell are row key ➤ column key ➤ version. The column key includes the column family. At a fine-grained level, including the table, a cell’s coordinates are table ...

Get Apache HBase Primer 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.