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.
> 


Look into the EXPLAIN option too to help you see what is optimized and 
what's not.

-- 
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16


_______________________________________________
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.

Reply via email to