MySQL DDL--ghost执行模板和参数
常用GHOST模板 ##================================================## mysql_ip="127.0.0.1" mysql_port=3358 ghost_user="root" ghost_password="123.com" ghost_database="test1" ghost_table="tb002" ghost_command="ADD C4 INT COMMENT '测试列'" ./gh-ost \ --allow-on-master \ --max-load="Threads_running=256" \ --critical-load="Threads_running=512" \ --chunk-size=1000 \ --initially-drop-old-table \ --initially-drop-ghost-table \ --initially-drop-socket-file \ --timestamp-old-table \ --force-table-names="" \ --host="${mysql_ip}" \ --port="${mysql_port}" \ --user="${ghost_user}" \ --password="${ghost_password}" \ -