Skip to main content

HIST_DP

Static HIST_DP 

Source
pub static HIST_DP: LazyLock<SchemaRef>
Expand description

HIST_DP — explicit-bucket histogram points.

bucket_counts stays a List<UInt64> rather than being flattened into a child table: measured, the flat child table is 1.47x the size of the list column, because a child table pays a 4-byte parent id per bucket where the list pays one 4-byte offset per point.

bounds_id points at HIST_BOUNDS. Every point of a histogram repeats the same bucket boundaries — that is what makes it the same histogram — and interning them measured 1.67x smaller on the point table (410 -> 246 B/row).