Skip to main content

Module cost

Module cost 

Source
Expand description

Multidimensional cost model for the vector query planner.

All values are heuristic estimates derived from typical hardware characteristics; they are not the result of micro-benchmarks. The purpose is to give the planner a consistent basis for comparing execution strategies across quantization tiers and index types — not to produce sub-microsecond accurate predictions.

Structs§

CostModelInputs
Inputs to the cost model.
VectorCost
All cost dimensions produced by estimate_cost.

Functions§

estimate_cost
Compute a multidimensional cost estimate for executing a vector query with the given parameters.