Database Reference
In-Depth Information
Advanced Data Modeling
So far, we have learned the basic building blocks of HBase schema designing and the
CRUD operations over the designed schema. In this chapter, we are going to dive
deep and learn the advanced level concepts of HBase, covering the following topics:
• Understanding keys
• HBase table scans
• Implementing ilters
Let's get an insight into the listed advanced concepts of HBase.
Understanding keys
In HBase, we primarily have the following keys to handle data within the tables:
Row Key : This provides a logical representation of an entire row, containing
all the column families and column qualiiers
Column Key : This is formed by combining the column family and the
column qualiier
Logically, the data stored in cells is arranged in a tabular format, but physically,
these tabular rows are stored as linear sets of the actual cells. These linear sets of
cells contain all the real data inside them.
Additionally, the data within multiple versions of the same cell is also stored as a
separate linear set of cells and a timestamp is added, along with the cell data stored.
These linear sets of cells are sorted in descending order by their timestamp so that
the HBase client always fetches the most recent value of the cell data.
Search WWH ::




Custom Search