The application cache is notoriously hard to debug. This book has some good methods for checking your application cache status.
众所周知应用程序缓存很难调试。这里有本书提供了一些检查你的应用程序缓存状态的好方法。
If this number increases quickly between successive SHOW STATUS commands, you should look at increasing your thread cache.
如果这个数字在连续执行showSTATUS命令时快速增加,就应该尝试增大线程缓存。
Listing 2 shows the status of the cache.
清单2给出了缓存的状态。
If Opened_tables increases quickly as you rerun the SHOW STATUS command, you aren't getting enough hits out of your cache.
如果Opened _ tables随着重新运行SHOWSTATUS命令快速增加,就说明缓存命中率不够。
The cache must verify the status of the stale resources before using it and expired ones should not be used.
缓存必须在使用之前验证旧资源的状态,并且不可使用过期资源。
The cache must verify the status of the stale resources before using it and expired ones should not be used.
缓存必须在使用之前验证旧资源的状态,并且不可使用过期资源。
应用推荐