Description
Same assystem.jemalloc_bins but with one row per (arena, bin) instead of aggregating over arenas. Slabs belong to a single arena, so this table locates fragmentation in a specific arena (including the dedicated MergeTree metadata, JIT and cache arenas) and joins to system.jemalloc_sampled_allocations on both arena and size class.
Columns
arena(UInt32) — Index of the arena. Joins tosystem.jemalloc_sampled_allocations.arena.purpose(String) — Purpose of a dedicated long-lived arena: ‘mergetree’ (part and table metadata), ‘jit’, ‘cache’. Empty for general-purpose arenas. Dedicated arenas hold long-lived allocations by design; fragmentation reports usually exclude them.index(UInt16) — Index of the bin ordered by size.large(UInt8) — True for large allocations and False for small.size(UInt64) — Size of allocations in this bin.allocations(Int64) — Number of allocations.deallocations(Int64) — Number of deallocations.nregs(Int64) — Number of regions per slab.curslabs(Int64) — Current number of slabs.curregs(Int64) — Current number of regions for this size class.slab_size(UInt64) — Size of each slab in bytes. Zero for large size classes, which are not slab-based.nonfull_slabs(Int64) — Current number of slabs that contain at least one free region. Zero for large size classes.
availregs— Alias fornregs * curslabs.util— Alias forcurregs / availregs.waste— Alias forgreatest((curslabs * slab_size) - (curregs * size), 0).