Expand description
Query Cache Module
Provide a unified cache management function, including: Query plan cache (Prepared Statement) CTE result caching
§Module Structure
config: Configuration for the plan and CTE cachesstats: Statistics collection and reportingplan_cache: Query plan cache (Prepared Statement style)cte_cache: CTE result cache
Re-exports§
pub use config::CachePriority;pub use config::CteCacheConfig;pub use config::PlanCacheConfig;pub use stats::CteCacheStats;pub use stats::CteCacheStatsSnapshot;pub use stats::MemoryStats;pub use stats::PlanCacheStats;pub use stats::PlanCacheStatsSnapshot;pub use plan_cache::CachedPlan;pub use plan_cache::ParamPosition;pub use plan_cache::ParameterizedQueryHandler;pub use plan_cache::PlanCacheContext;pub use plan_cache::PlanCacheKey;pub use plan_cache::QueryPlanCache;pub use cte_cache::CteCacheDecision;pub use cte_cache::CteCacheDecisionMaker;pub use cte_cache::CteCacheEntry;pub use cte_cache::CteCacheManager;
Modules§
- config
- Unified Cache Configuration Module
- cte_
cache - CTE Results Cache Manager Module
- plan_
cache - Query Plan Cache Module
- stats
- Unified Cache Statistics Module