Skip to content
About
Main content

What physical clustering forbids

What does physical clustering forbid, what are the escapes, and what does each escape cost?

What this article forbids

  • No total order keeps proximity in more than one dimension. This is permanent and geometric, not an engineering limit.
  • The total skip power is fixed by the number of units, so multidimensional redistributes it and does not create it.
  • Clustering cannot survive writes. It can only be bought again.

The escapes and their costs

EscapeWhat it buysWhat it costs
Multiple sorted copiesSeveral directional betsLinear , linear storage, and divergence between the copies
Insurance against the total-scan caseA hard floor of U^(1−1/d) on every single-dimension query, worsening fast with d
Richer summariesPredicate classes that cannot serveMetadata that recurses into its own instance of this problem
Both bounds on unit sizeComplexity at every level
CorrelationSkipping that you did not pay forIt makes every estimate wrong

The through-line of Layout models, Mutation strategies and Physical clustering. Layout bet on which . Mutation bet on when to reconcile. Clustering bets on which predicate. It is the only one of the three whose failure is total and not proportional. That is why it is also the only one that needs ongoing measurement and not a one-time decision: a layout choice degrades gracefully when the workload drifts, and a clustering choice falls off a cliff (the query suddenly goes from fast to scanning everything).