We help IT Professionals succeed at work.
Get Started

mysql rows_examined

pmsguy
pmsguy asked
on
914 Views
Last Modified: 2013-12-12
How do I get the rows_examined after I run a query?

I know I can look at the mysql log file, which is not the answer I am looking for.

Basically, something similar to:

mysql> select rows_examined from users left join acct on users.id=acct.id;

This will allow me to analyzed LARGE rows_examined so I can see where my slow queries are based on joins.

Comment
Watch Question
system administrator
Top Expert 2007
Commented:
This problem has been solved!
Unlock 4 Answers and 4 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE