Expand description
Plan cache for the query planner
Provides an LRU cache with TTL-based expiry for caching physical execution plans. This avoids re-planning identical queries when the same query is submitted multiple times within the TTL window.
Structsยง
- Cache
Key - Cache key: a blake3 hash of the normalized query representation
- Cache
Stats - Cache statistics
- Cached
Plan - A cached physical plan with metadata
- Plan
Cache - LRU plan cache with TTL-based expiry
- Plan
Cache Config - Configuration for the plan cache