SQL query optimisation is not fun
06 Feb 2004
Well, maybe it is a little. We're trying to optimise a crazily-slow MySQL query for our article search. Who'd've thought that a DISTINCT on a list of already-distinct list of (primary indexed) numeric identifiers would make it 50 times slower. Our fulltext indices don't seem to be behaving nearly as fast as we recall when we first installed them. Probably the initial euphoria tainting our memory - goodbye keywordmap table!