percona goat

The Percona Database Performance Blog

Technical guides, deep dives, and perspectives across MySQL, PostgreSQL, MongoDB, Valkey, Redis, and more.

Blog
|
November 19, 2026
|
Jinyou Ma
Why MySQL OR is slower than IN
Queries with OR conditions are commonly used to implement business logic. However, it might be slower than we expected.  Although the query below scan...
By Author
Post Author
By Category
Category
Search

Far
Enough.

Said no pioneer ever.
MySQL, PostgreSQL, InnoDB, MariaDB, MongoDB and Kubernetes are trademarks for their respective owners.
© 2026 Percona All Rights Reserved