mysql> SHOW STATUS LIKE 'Qcache_hits'; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | Qcache_hits | 178 | +---------------+-------+ 1 row in set (0.02 sec)
mysql> SELECT * FROM adminlog WHERE adminlog_id = ANY (SELECT ent_area_id FROM ent); #数据隐藏 74 rows in set (0.02 sec) mysql> SHOW STATUS LIKE 'Qcache_hits'; | Variable_name | Value | +---------------+-------+ | Qcache_hits | 178 | +---------------+-------+ 1 row in set (0.01 sec)
mysql> SELECT * FROM adminlog WHERE adminlog_id = ANY (SELECT ent_area_id FROM ent); #数据隐藏 3 rows in set (0.09 sec) mysql> SHOW STATUS LIKE 'Qcache_hits'; | Variable_name | Value | +---------------+-------+ | Qcache_hits | 179 | +---------------+-------+ 1 row in set (0.01 sec)
mysql> SELECT ent_area_id FROM ent; #数据隐藏 74 rows in set (0.02 sec)
mysql> SHOW STATUS LIKE 'Qcache_hits'; +---------------+-------+ | Variable_name | Value | +---------------+-------+ | Qcache_hits | 179 | +---------------+-------+ 1 row in set (0.02 sec)