Fournier Jocelyn [Presence-PC] writes: > Hi, > > Yes it is 4.0.1. > But the first query has also to make a temporary table with 2 million rows, > it's why I don't understand the delta between the query without DISTINCT and > the query with DISTINCT. > The "remove duplicates" doesn't occurs after the join was performed ?? (it > should be really fast in this case) > > Regards, > > Jocelyn
DISTINCT simply has to re-iterate. -- 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