MySQL Forums
Forum List  »  Optimizer & Parser

Re: Is it possible to avoid "Using temporary" when distinct is used with join?
Posted by: Rick James
Date: February 26, 2010 09:03PM

Which field is in which table? Which "id"?

To assist in analyzing slow SELECTs, please provide
* SHOW CREATE TABLE tbl\G -- engine, indexes
* SHOW TABLE STATUS LIKE 'tbl'\G -- sizes
* EXPLAIN SELECT ...\G -- clues of inefficiencies
* SHOW VARIABLES LIKE '%buffer%'; -- cache size
and surround them with [ code ] and [ / code ]

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Is it possible to avoid "Using temporary" when distinct is used with join?
1738
February 26, 2010 09:03PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.