Optimize MySQL and Schedule Maintenance with MySQL Tuner
Join the DZone community and get the full member experience.
Join For FreeOnce in a while it is worthwhile to take care of your database and verify it can provide the needed resources for your system.
After all, most of the data may be stored in it...
Some Tasks I would Recommend You to Do
Please notice that this work may not be done manually, but can be automated. If you do so, you may be contribute it back to the community at your favorite open source project:
After all, most of the data may be stored in it...
Some Tasks I would Recommend You to Do
Please notice that this work may not be done manually, but can be automated. If you do so, you may be contribute it back to the community at your favorite open source project:
- Run MySQLTuner and look for issues.
- Take care of fragmented tables:
- You can find them using SHOW TABLE STATUS WHERE Data_free > 0\G and take care of them using OPTIMIZE TABLE table_name;
- Or you can use mysqlfragfinder script for that.
- Verify RAM, disk and CPU utilization
- Check the slow log query
MySQL
Schedule (computer science)
Published at DZone with permission of Moshe Kaplan, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Trending
-
Mastering Time Series Analysis: Techniques, Models, and Strategies
-
How To Check IP Addresses for Known Threats and Tor Exit Node Servers in Java
-
Auditing Tools for Kubernetes
-
Logging Best Practices Revisited [Video]
Comments