16

I have about 40 databases with the same schema. What can I so to ensure these databases run smoothly?

Should I be optimizing tables regularly? How can I detect table crashes?

2
  • To start with, I'd recommend using InnoDB engine if you're not already for it has better crash recovery. Commented Sep 20, 2011 at 1:45
  • You may want to try posting this on Database Administrators Commented Sep 20, 2011 at 2:08

1 Answer 1

19

As described in detail within the below article, the bare minimum actions you should perform include,

  1. database backup
  2. check table integrity for errors
  3. optimize tables (varies between MyISAM and InnoDB)
  4. analyze

http://www.laurencegellert.com/2011/07/mysql-maintenance-tasks-for-innodb-with-mysql-5-1/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.