Re:Speeding up SQL queries by orders of magnitude using UNION
by knuthsat on Saturday March 20, 2021 @07:04PM
(#26526719)
OR really messes things up. UNION instead makes things fast.
[ Parent
| on HN ]
Re:Speeding up SQL queries by orders of magnitude using UNION
by balfirevic on Saturday March 20, 2021 @07:07PM
(#26526739)
Oh, I wouldn't presume that it will be faster than the union but I wonder how it compares to the original query in the article (the one with OR).