Skip to content
About
Main content

What layout models forbid

What do layout models forbid, what are the escapes, and what does each escape cost?

What the layouts forbid

  • No single layout gives both O(1) access to a whole entity and an optimal scan of one attribute across entities. They need contradictory , and a byte has one address.
  • No heavily encoded layout supports fine-grained , because fuses values into blocks.
  • No layout gives both stable physical identity and physical ordering by key.

The escapes, and what each costs

EscapeWhat it buysWhat it costs
A bounded compromise between entity and attribute accessn decode operations per point read, plus a rewrite floor of G
(a row-formatted delta over a columnar base for mixed workloads, "", several sort orders of the same data)Both access shapes2× storage, proportional and, more important, a between the copies. Storage is cheap; the staleness is the real cost.
Buys back part of the store's reconstruction costPlanner complexity, and it only helps selective queries
Columnar speed on documentsValidity that depends on a schema nobody declared