Tag

derived_condition_pushdown

1 views collected around this technical thread.

Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 10, 2021 · Databases

Understanding MySQL 8.0 Derived Condition Pushdown Optimization and Its Impact on User Variables

The article explains MySQL 8.0.22's new optimizer_switch variable derived_condition_pushdown, shows how enabling it can cause unexpected results with user‑defined variables in outer WHERE clauses, provides test cases, explains the underlying behavior, and offers three practical solutions.

MySQLOptimizer SwitchPerformance
0 likes · 7 min read
Understanding MySQL 8.0 Derived Condition Pushdown Optimization and Its Impact on User Variables