pingcap / pingcap/tidb

planner: Optimize Plan Cache Performance

Open
#65,117 0 comments 0 reactions 0 assignees View on GitHub
affects-8.5 type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
Plan cache is a critical component for TiDB performance, especially in real-world transactional workloads, as it helps reduce planning cost and improve query execution efficiency.

During recent work and observation, we found that there are some unnecessary processing steps and extra overhead in the current plan cache implementation, which may be optimized to further improve performance.

This issue is intended to track possible performance optimizations for plan cache.
Further analysis and concrete optimization proposals will be added incrementally.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.