Query Execute Time To check a sql statement execute time, we can use profiling set profiling = 1; select * from user; show profiling; show profiling for query 1; Reference