compound key

A key built from two or more fields, such as tenant plus time bucket.

In more detail

Compound keys encode the query you need: one part keeps related data together, another spreads it or orders it. The order of the parts matters, because many stores sort and range-scan by the leading part.

Related terms

Taught in

References