pub const FETCH_ONCE_MATCHED_ROW_EQUIV_MILLI: u64 = 1_400;Expand description
Cost of one MATCHED row in the fetch-once trigger’s per-page price, in milli-rows: one row an allow-list fetch returns costs this many sequentially-streamed rows. Matched rows are not free even though the seek-union transport fetches them in one pass: each returned row pays the wire fetch (≈ 1.0) plus decode, intern and batch-table assembly (≈ 0.23) on the compute side.
Used by: the same priced comparison as
FETCH_ONCE_SEEK_EQUIV_MILLI — the matched-rows multiplier in
pages × (seeks × SEEK_EQUIV + matched × this) ≥ MARGIN × whole_read_rows (previously hardcoded at 1000).
Measured: 1.15–1.40 rows per matched row across the parallel-probe road’s
two-domain, three-multiplicity calibration matrix
(scripts/calibrate_seek_ratio.py synthetic mode; the assembly share
is the most stable quantity that calibration produced).
Do not re-pin to a fresh synthetic reading. A single sweep measures ~1150 milli — the band’s floor — and that is the expected reading, not drift: the calibration’s tightest pass (15 runs) measured exactly this value, and the pin was still placed at 1400 on purpose. The pin is an arm-placement decision, not a point estimate. The corpus’s deadvar arm prices mostly matched rows and carries the thinnest FetchOnce margin of the pinned arms: +4.5% price over its threshold at 1400, thinning to +1.4% at 1300. At 1153 it flips to PerPage (price 786,118 vs threshold 812,258 row-equivalents, −3.2%), misclassifying a wall-clock-correct FetchOnce arm onto the slower road. A synthetic sweep cannot see arms like this one — its fixtures have no per-arm verdict margins to protect — so re-pinning requires a corpus verdict census confirming every thin-margin arm still classifies on its measured-correct side. Re-measure the band when the fetch path’s decode/intern/assembly work changes shape; expect the re-measurement to reproduce the floor unless that shape moved.