Cache's tag archives

MySQL Optimize Top 21 Tips

1. Optimize Your Queries For the Query Cache Most MySQL servers have query caching enabled. It’s one of the most effective methods of improving performance, that is quietly handled by the database engine. When the same query is executed multiple times, the result is fetched from the cache, which is quite fast. The main problem is, it is so easy and hidden from the programmer, most of us tend to ignore it. Some things we do can actually prevent the query cache from performing its task. vie...

How to flush the local DNS cache in Fedora?

You can flush your local DNS cache in Linux by following these easy steps: 1. Open your terminal to use the command line. 2. Log in as root using the su command: user@host:~$ su Password: root@host: 3. Restart the name service cache daemon: root@host: /etc/init.d/nscd restart Please note that the name service cache deamon (nscd) may not be installed by default on your Linux distribution. You should be able to install it through the package manager of your distribution – yum f...