I am currently studying the ThinkPHP5 course. I saw that Teacher Zhu’s database query speed was 0.000239s, while mine was 1.027s. When the query statements are the same, the database is configured locally. Why is this?
replyThe simplest kind of query statement. select name, sex, salary from user where id = 1; But it takes more than 1 second. MySQL database. Is it a problem of too many databases?
Send the sql statement to see