Stephen Russell wrote: > On Wed, Oct 7, 2009 at 9:29 AM, Paul McNett <[email protected]> wrote: >> Stephen Russell wrote: >>> You will need a compound index >>> kabul_cikis basvuru_fk and devrkurum and iptal and cikis_zmn >> CREATE INDEX kabul_cikis_fk_devrkurum_iptal_cicis_zmn ON kabul_cikis (fk, >> devrkurum, >> iptal, cikis_zmn); > -------------------------------- > > In MySQL can you give a nint to the index you want used? It may still > pick up the plain Jane index on FK and not consider the new one.
I believe MySQL's query analyzer does a good job selecting the best index to use, automatically. I've never found the need to research whether you can explicitly specify which index to use. So maybe it has that feature. :) Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

