MySQL Forums
Forum List  »  Performance

Re: Slow query on tmp table
Posted by: Rick James
Date: November 26, 2015 02:44PM

* Use JOIN instead of subquery
* Provide SHOW CREATE TABLE
* Qualify each field so we can tell which table it comes from

It _may_ be that you need to do the SUMs inside a subquery and apply the "/ dbl_taux_conv_dev_pale" afterwards. Maybe I can help you with that after you provide the above info.

Options: ReplyQuote


Subject
Views
Written By
Posted
1187
November 19, 2015 09:02AM
605
November 19, 2015 12:08PM
Re: Slow query on tmp table
747
November 26, 2015 02:44PM


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.