Skip to main content

Module plan_cache

Module plan_cache 

Source
Expand description

Query plan cache for avoiding repeated optimization.

This module provides a simple LRU cache for compiled physical plans. When the same logical plan is executed multiple times, the cached physical plan can be reused, skipping the optimization phase.

Structs§

PlanCache
LRU cache for compiled physical plans.

Functions§

compute_plan_fingerprint
Computes a fingerprint (hash) for a logical plan. Plans with the same structure will have the same fingerprint.