title: How to tell if a MySQL process is stuck?
body: <p>I have a long-running process in MySQL.  It has been running for a week.  There is one other connection, to a replication master, but I have halted slave processing so there's effectively nothing else going on.</p>
  
  <p>How can I tell if this process is still working?  I knew it would take a long time which is why I put it on its own database instance, but this is longer than I anticipated.  Obviously, if it is still doing work, I don't want to kill it.  If it is zombied, then I don't know how to get the work done that it's supposed to be doing.</p>
  
  <p>It's in the "Sending data" state.  The table is an InnoDB one but without any FK references that are used by the query.  The InnoDB status shows no errors or locks since the query started.</p>
  
  <p>Any thoughts are appreciated.</p>