当前位置:Gxlcms > 数据库问题 > MYSQL SQL_NO_CACHE的真正含义

MYSQL SQL_NO_CACHE的真正含义

时间:2021-07-01 10:21:17 帮助过:7人阅读


+----------+
| count(*) |
+----------+
| 0 |
+----------+
1 row in set (7.22 sec) 

 
mysql> select count(*) from users where email = ‘hello‘;
+----------+
| count(*) |
+----------+
| 0 |
+----------+
1 row in set (0.45 sec)

mysql> select count(*) from users where email = ‘hello‘;
+----------+
| count(*) |
+----------+
| 0 |
+----------+
1 row in set (0.45 sec)

mysql> select SQL_NO_CACHE count(*) from users where email = ‘hello‘;
+----------+
| count(*) |
+----------+
| 0 |
+----------+
1 row in set (0.43 sec)


MYSQL SQL_NO_CACHE的真正含义

标签:

人气教程排行