Quantcast
Channel: MySQL query taking too long - Database Administrators Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by user140142 for MySQL query taking too long

Normalize your database. The fact that one order is "self sustaining" and hence has a very simple insertion (you just let the web application copy data from the previous orders) has a negative effect...

View Article


Answer by Rick James for MySQL query taking too long

To do the filtering sooner, change the subquery to( SELECT email, COUNT(*) AS email_ct FROM oc_order GROUP BY email HAVING COUNT(*) > 3 ) AS xxxThen remove xxx.`Orders Count` >3 as being...

View Article


Image may be NSFW.
Clik here to view.

MySQL query taking too long

SELECT DATE_FORMAT( o.date_added, '%m/%d/%Y' ) AS 'Date', o.order_id as 'Order Number', CONCAT_WS( "", `firstname` , `lastname` ) AS `Name`, o.email as 'Email', o.total as 'Amount', ot.value as...

View Article
Browsing all 3 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>