Код: Выделить всё
SHOW GLOBAL STATUS LIKE 'Qcache%';
Код: Выделить всё
mysql> SHOW GLOBAL STATUS LIKE 'Qcache%';
+-------------------------+-----------+
| Variable_name | Value |
+-------------------------+-----------+
| Qcache_free_blocks | 1 |
| Qcache_free_memory | 33536864 |
| Qcache_hits | 0 |
| Qcache_inserts | 0 |
| Qcache_lowmem_prunes | 0 |
| Qcache_not_cached | 244573688 |
| Qcache_queries_in_cache | 0 |
| Qcache_total_blocks | 1 |
+-------------------------+-----------+
Код: Выделить всё
mysql> SHOW GLOBAL STATUS LIKE 'Qcache%';
+-------------------------+----------+
| Variable_name | Value |
+-------------------------+----------+
| Qcache_free_blocks | 1 |
| Qcache_free_memory | 16700048 |
| Qcache_hits | 492 |
| Qcache_inserts | 58 |
| Qcache_lowmem_prunes | 0 |
| Qcache_not_cached | 209 |
| Qcache_queries_in_cache | 39 |
| Qcache_total_blocks | 89 |
+-------------------------+----------+