Skip to content

cardinality_inference

sqllocks_spindle.schema.inference.cardinality_inference

Infer parent:child cardinality ratios and scale presets for row generation.

Sets derived_counts so child tables scale proportionally to their parents, and sets scale presets (small/medium/large) for root entity tables.

Classes

CardinalityInferrer

Set parent:child ratios in derived_counts and scale presets for root tables.