MySQL Query Optimiser Hints: INDEX_MERGE, NO_RANGE_OPTIMIZATION, and SET ...
MySQL’s optimiser hints (available since 5.7, extended in 8.0) let you override the query planner’s decisions without changing session variables or schema — they are embedded directly in the query with /*+ HINT */ syntax and affect only that specific statement. For WordPress performance work, hints are invaluable when the optimiser consistently makes a bad…