I got a job maintaining a high traffic webapp that uses MySQL. I'm using MySQLTuner, a Perl script that makes recommendations to improve MySQL performance. Recently I've been getting the following error from MySQLTuner:
[!!] Temporary tables created on disk: 49% (50M on disk / 102M total)
How can I find out which queries are creating temporary tables on disk?