set profiling=1;
Now run a query or two. Then...
show profile;
Or...
show profiles;
Then you can...
show profile for query 4;
More info on this very helpful functionality:
And of course, don't forget about using EXPLAIN on your queries...
More information about formatting options
Loading...
Cannot wait? Visit me on Twitter. And how about a follow, huh?.
Add your comment