openskills.info
Course Preview

Column-Family Databases

Column-family databases store data in column groups rather than rows, optimizing for read-heavy analytical queries that access a few columns across many records. They suit workloads like time-series data, event logging, and wide-table patterns at scale.

itDatabases and data storage

Column-Family Databases

A column-family database organizes data around row keys and groups of related columns. You may also see the category called a wide-column database.

The useful idea is not a table with an enormous fixed set of columns. It is a distributed, sparse map. Each row can contain the columns it needs. Missing columns consume no cell storage in systems such as Bigtable. A column family groups related columns and can also define storage or retention behavior.

This model grew from systems built for datasets and request rates that were difficult to place on one machine. Google's 2006 Bigtable paper described a distributed storage system for structured data at very large scale. Apache HBase follows the Bigtable data model. Apache Cassandra combines a wide-column interface with its own Dynamo-influenced distribution and replication design.

Those products share vocabulary, but they are not interchangeable. Their query languages, consistency choices, transaction boundaries, deployment models, and storage controls differ. Learn the common model first. Then verify every operational decision against the product you use.

The core mental model

Read a logical cell address from left to right:

row key -> column family -> column qualifier -> timestamp -> value
  • The row key identifies a row and controls how rows are ordered or partitioned.
  • The column family groups related columns. You define families deliberately and keep their number small.
  • The column qualifier names one column inside a family. Qualifiers can vary from row to row.
  • The timestamp identifies a cell version in Bigtable-style models.
  • The value is the stored data.

Continue the course

This section is part of the paid course.

See pricing to subscribe, or log in if you already have access.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources