DBIx::QueryLog is logs each execution time and the actual query. Currently, works on DBD::mysql and DBD::sqlite.