From show processlist;
It's happened twice today (and it locked for 240 seconds and I just killed mysqld and restarted it)... Why is there no WHERE clause on this SELECT? Any idea what would generate such a query? With almost 350k threads, that'd be quite a tmp table....
It's happened twice today (and it locked for 240 seconds and I just killed mysqld and restarted it)... Why is there no WHERE clause on this SELECT? Any idea what would generate such a query? With almost 350k threads, that'd be quite a tmp table....
PHP Code:
Query | 61 | Copying to tmp table | SELECT
DISTINCT thread.threadid, thread.forumid, post.userid
FROM thread AS thread
Comment