Add sql analysis debug information

Get quick overview of total SQL time and worst SQL statement execution time without browsing hundreds of lines of debug output.