Some hand com­mands if you need to improve some SQL Queries:

ana­lyze query:

1
explain select .. from TABLE;

show index:

1
show index from TABLE;

ana­lyze table:

1
ana­lyze table TABLE;

sql query with­out cache:

1
select SQL_NO_CACHE .. from TABLE;

show mysql cache status:

1
SHOW VARIABLES LIKE ‘query_cache%’;