I have a 250GB 500M rows MySQL table and would like to delete one of its columns. The column is VARCHAR(255). I would like to perform this operation with as little as possible down-time. Thoughts:
To assure minimal downtime I would personally backup and restore to an alternative database and then do the 'drop column' before restoring again.
It might be, but it will take longer time and is more prone to errors I would say.
Yes, good idea, also, consider using ANALYZE TABLE before hand
OPTIMIZE TABLE; The OPTIMIZE command should be run when the DBMS is offline for scheduled maintenance. The command is nonstandard SQL.