A quick solution to a common problem: your MySQL server has thousands of connections, some or most are not persistent. Unless you say otherwise, MySQL will check connections hostnames against the system DNS server. While this is generally not a problem with low traffic, when you are dealing with many concurrent connections you are not only wasting cycles with DNS name resolve, you may also overwhelm or alert your DNS server/provider. The solution? Set skip-name-resolve in the my.cnf file and MySQL will run the connections off of their IP address instead of the DNS name that it resolves to.
Current Books in Review
Most Common Terms
analytics automation Backups bash beta book review bsd Clustering CNF command line database databases graphing innodb javascript Kontrollbase linux load testing loadtesting Monitoring Monolith Monolith Toolkit mysql mysql community mysqldump MySQL Enterprise MySQL Server osx perl PHP production Programming Python Replication reporting rss scripting Scripts server ssh sysbench testing threading tuning unix
-
Recent Posts
Recent Comments
- Steve on SAN vs Local-disk :: innodb_flush_method performance benchmarks
- Domas on SAN vs Local-disk :: innodb_flush_method performance benchmarks
- Doams on SAN vs Local-disk :: innodb_flush_method performance benchmarks
- James Day on SAN vs Local-disk :: innodb_flush_method performance benchmarks
- admin on SAN vs Local-disk :: innodb_flush_method performance benchmarks
Categories
Links





