Index and optimizer hints. See Index Hints, and Optimizer Hints.
-
Semijoin strategies other than
FIRSTMATCH
.MySQL attempts to enforce the
FIRSTMATCH
strategy and ignores all other semijoin strategies specified explicitly as subquery optimizer hints. However, MySQL may still select theDUPSWEEDOUT
semijoin strategy duringJOIN
order optimization, even if an equivalent plan could be offered using theFIRSTMATCH
strategy. A plan that uses theDUPSWEEDOUT
semijoin strategy would produce incorrect results if executed on HeatWave.For general information about subquery optimizer hints, see Subquery Optimizer Hints.