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