A key that determines the order data is stored in within the same partition.
A key that controls the physical ordering of data within the same partition, affecting the efficiency of range queries. After narrowing down by partition key, specifying just a range on the sort key -- a date range, for instance -- lets you efficiently retrieve that slice of data, which is why it's particularly well suited to range queries over time-series data.
© 2026 ITBGM