mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog 2012-06-18 06:33 pm (UTC)

It turns out that guessing what MySQL is going to do in extreme cases is actually pretty hard. Actually there is a followup commit to this one where Dre and I figured out that you can just use FORCE INDEX to get better behavior.

Without the forced index, MySQL was pulling out every single row for the journal and filtering to figure out which ones weren't deleted or suspended. Talk about inefficient! :(

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org