MySQL Forums
Forum List  »  Optimizer & Parser

Re: Avoiding "Using temporary; Using filesort"
Posted by: Rick James
Date: July 17, 2011 09:45PM

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 ]
How much RAM do you have?

> Stripping out the columns that are not relevant
Potentially, they are all relevant.

Options: ReplyQuote

Written By
Re: Avoiding "Using temporary; Using filesort"
July 17, 2011 09:45PM

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.