Keep One Asset’s History Together Without Growing Forever

A technician wants a time range for one pump. Give that request a bounded partition and an ordering that makes the required records reachable.

14 sections · 4 questions · 1 coding challenge

1 / 14

Keeping Nearby Records Together for a Known Query

BOTIE

Google’s 2006 Bigtable paper described a sorted map for large structured datasets, with rows, column families and timestamped values. Cassandra later combined ideas from systems including Bigtable and Dynamo, while developing its own storage and consistency behaviour. These names do not identify one interchangeable database model.

For our maintenance example, locality is the useful idea: store the records needed by one bounded query together, and order them by the field the query ranges over. Cassandra’s partition and clustering columns express those different jobs explicitly.

Sources for this history