wattaman
March 16th, 2009, 05:47 PM
Hi!
I'm looking for a cronjob to repair and optimize one particular mysql database
I have a database that once a few days locks 2 tables and until now I was repairing them in phpmyadmin, but I suppose a croonjob that does this every morning will be better.
Please mind that I don't want to optimize ALL databases, I already found this cron command googleing... I just can't find the cron for only one database :(
Also, I don't fully understand the check, repair and optimize processes... if, for example, the repair also optimizes the database tables (or otherwise), please tell me, is good to know.
Thank you!
I'm looking for a cronjob to repair and optimize one particular mysql database
I have a database that once a few days locks 2 tables and until now I was repairing them in phpmyadmin, but I suppose a croonjob that does this every morning will be better.
Please mind that I don't want to optimize ALL databases, I already found this cron command googleing... I just can't find the cron for only one database :(
Also, I don't fully understand the check, repair and optimize processes... if, for example, the repair also optimizes the database tables (or otherwise), please tell me, is good to know.
Thank you!