Dean Ware writes:
> Excellent!
>
> By changing the order of the tables being joined I reduced the execution
> time from 2800ms to 20ms!
>
> Very useful command.
>
> Thanks very much!
>
Keep in mind you can help MySQL a lot by setting STRAIGHT_JOIN, to
make it sure that MySQL honors the table order.
This explained in a manual.>
--
Regards,
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <[EMAIL PROTECTED]>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, FullTime Developer
/_/ /_/\_, /___/\___\_\___/ Larnaca, Cyprus
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php