Why MySQL OR is slower than IN (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
Replies (2)
My experience is that order does matter in MySQL and especially in DWH environments where the optimizer may not be aware of things like partitioning.
Replies (2)
Replies (1)
Subqueries aren't always going to be more expensive
Replies (1)
Of course, if they're rewritten to a semijoin or similar, they won't be subqueries anymore or indeed not conditions at all, so sorting them is not applicable.
Replies (1)