Skip to main content

Module memory

Constantsยง

COMPRESSED_TO_DECODED_INFLATION ๐Ÿ”’
Compressed-to-decoded fallback used when the schema contains variable-width fields.
DATAFUSION_RUNTIME_FIXED_BYTES ๐Ÿ”’
Fixed task-context, operator, and allocator overhead observed for small streaming plans.
DATAFUSION_SORT_MERGE_RESERVATION_BYTES ๐Ÿ”’
DataFusionโ€™s datafusion.execution.sort_spill_reservation_bytes default.
DATAFUSION_STREAMING_DECODED_WINDOW_BYTES ๐Ÿ”’
Upper bound for decoded Arrow data retained beyond the explicitly accounted record batches.
DATAFUSION_WRITER_WINDOW_BYTES ๐Ÿ”’
Output writer memory retained across input batches.
EQUALITY_DELETE_INFLATION ๐Ÿ”’
Compressed-size estimate for decoded equality-delete value buffers.
HASH_JOIN_ROW_OVERHEAD_BYTES ๐Ÿ”’
Per-row hash table and join bookkeeping floor for DataFusionโ€™s retained HashJoinInput.
HEAP_FIXED_HEADROOM_BYTES ๐Ÿ”’
LARGE_SORT_THRESHOLD_BYTES ๐Ÿ”’
POSITION_DELETE_INFLATION ๐Ÿ”’
Compressed-size estimate for decoded position-delete value buffers.
POSITION_DELETE_KEY_OVERHEAD_BYTES ๐Ÿ”’
Per-row Arrow and hashing overhead for the two position-delete join keys.
SORT_TEMPORARY_HEADROOM_BYTES ๐Ÿ”’
STREAMING_PREFETCH_DECODE_OVERLAP_MIN_ACTIVE_FILES ๐Ÿ”’
At this scan concurrency, prefetched files and decoded buffers measurably overlap at peak.

Functionsยง

complete_record_count ๐Ÿ”’
estimate_equality_delete_join_bytes ๐Ÿ”’
estimate_plan_memory
Estimates the peak heap bytes of one compaction plan for scheduler admission.
estimate_position_delete_join_overhead_bytes ๐Ÿ”’
estimate_prefetch_bytes ๐Ÿ”’
estimate_provider_prefetch ๐Ÿ”’
estimated_schema_row_width ๐Ÿ”’
hidden_row_width ๐Ÿ”’
position_delete_row_width ๐Ÿ”’
primitive_width ๐Ÿ”’
sum_file_sizes ๐Ÿ”’