tbayer: your interactive query brought down the db1047 server. It needs optimization:
Hits Tmax Tavg Tsum Hosts Users Schemas 320 661,655 660,060 211,219,208 db1047 research SELECT dupesperday.yearmonthday, ROUND(100*dupes/totalevents, 2) AS dupes_percentage FROM (SELECT yearmonthday, SUM(copies-1) AS dupes FROM (SELECT LEFT(timestamp, 8) AS yearmonthday, timestamp, userAgent, clientIp, webHost, event_action, COUNT(*) AS copies FROM log.MediaViewer_10867062 GROUP BY yearmonthday, timestamp, userAgent, clientIp, webHost, event_action HAVING copies>1) AS dupeslist GROUP BY yearmonthday) AS dupesperday JOIN (SELECT LEFT(timestamp, 8) AS yearmonthday, COUNT(*) AS totalevents FROM log.MediaViewer_10867062 WHERE timestamp LIKE '201508%' GROUP BY yearmonthday) AS totaleventsperday ON dupesperday.yearmonthday = totaleventsperday.yearmonthday ORDER BY yearmonthday /* 1985750a9eb384d23630677d64dad87f db1047 658465s */ 320 651,050 649,455 207,825,608 db1047 research SELECT dupesperday.yearmonthday, ROUND(100*dupes/totalevents, 2) AS dupes_percentage FROM (SELECT yearmonthday, SUM(copies-1) AS dupes FROM (SELECT LEFT(timestamp, 8) AS yearmonthday, timestamp, userAgent, clientIp, webHost, event_action, COUNT(*) AS copies FROM log.MediaViewer_10867062 GROUP BY yearmonthday, timestamp, userAgent, clientIp, webHost, event_action HAVING copies>1) AS dupeslist GROUP BY yearmonthday) AS dupesperday JOIN (SELECT LEFT(timestamp, 8) AS yearmonthday, COUNT(*) AS totalevents FROM log.MediaViewer_10867062 GROUP BY yearmonthday) AS totaleventsperday ON dupesperday.yearmonthday = totaleventsperday.yearmonthday ORDER BY yearmonthday /* 2526042c364d5984f1ef815f7bc09e3b db1047 647860s */