Profile times compared to realtime
Posted: Mon 17 Oct 2011 01:31
I'm tracking down a problem with MySQL with a bunch of nested Views (terrible code) and trying to find which ones are talking the most time. I have a sample query that takes 28 to 40 seconds to run. In the dbForge Studio, running a profile of the query, it lists the total time as 0.000033
Connection string User Id=root;Host=localhost;Database=testdb;Connection Timeout=30;Character Set=utf8;
Duration of statement execution, sec. 0.000033
Server version 5.1.42
Why is the reported time just a fraction of the real-time value? Is there a way for me to find out which View is talking the most time?
Connection string User Id=root;Host=localhost;Database=testdb;Connection Timeout=30;Character Set=utf8;
Duration of statement execution, sec. 0.000033
Server version 5.1.42
Why is the reported time just a fraction of the real-time value? Is there a way for me to find out which View is talking the most time?