I need to drop a column from a big table (about 20 GB) in a production MySQL database,
but I don’t want the MySQL server to hang or make a risk on production database.
This table is using the InnoDB engine and it contains around 10,000,000 records.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The best possible way as far as I know, is to use a MASTER-MASTER setup in mysql
You can modify MASTER1 first, and just use MASTER2 in production. Then you switch over and do the same.