One extra OR condition made a #MySQL query 79x slower. 👀
Jinyou Ma explains why OR can lag behind IN and how the optimizer's access path changes performance.

One extra OR condition made a #MySQL query 79x slower. 👀
Jinyou Ma explains why OR can lag behind IN and how the optimizer's access path changes performance.
🔎 SQL query optimization: How to tune performance effectively
Find what slows your queries down, from missing indexes to heavy JOINs.
📖 See all 15 tips: cutt.ly/HyId9syx
⚡ Speed up your queries with the AI-powered #dbForgeStudio for #SQLServer: cutt.ly/Vym8qzBG